On this page
function field_ui_get_destinations
field_ui_get_destinations($destinations)
Extracts next redirect path from an array of multiple destinations.
See also
File
- modules/field_ui/field_ui.admin.inc, line 2092
- Administrative interface for custom field type creation.
Code
function field_ui_get_destinations($destinations) {
$path = array_shift($destinations);
$options = drupal_parse_url($path);
if ($destinations) {
$options['query']['destinations'] = $destinations;
}
return array($options['path'], $options);
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!field_ui!field_ui.admin.inc/function/field_ui_get_destinations/7.x