1 field_ui.admin.inc field_ui_get_destinations($destinations)

Extracts next redirect path from an array of multiple destinations.

See also

field_ui_next_destination()

File

core/modules/field_ui/field_ui.admin.inc, line 2215
Administrative interface for custom field type creation.

Code

function field_ui_get_destinations($destinations) {
  $path = array_shift($destinations);
  $options = backdrop_parse_url($path);
  if ($destinations) {
    $options['query']['destinations'] = $destinations;
  }
  return array($options['path'], $options);
}