function field_ui_get_destinations

Extracts next redirect path from an array of multiple destinations.

See also

field_ui_next_destination()

3 calls to field_ui_get_destinations()
field_ui_field_delete_form_submit in modules/field_ui/field_ui.admin.inc
Form submission handler for field_ui_field_delete_form().
field_ui_field_overview_form_submit in modules/field_ui/field_ui.admin.inc
Form submission handler for field_ui_field_overview_form().
field_ui_next_destination in modules/field_ui/field_ui.admin.inc
Returns the next redirect path in a multipage sequence.

File

modules/field_ui/field_ui.admin.inc, line 2105

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,
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.