You are here

function content_get_destinations in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 includes/content.admin.inc \content_get_destinations()

Helper function to handle multipage redirects.

2 calls to content_get_destinations()
content_field_edit_form_submit in includes/content.admin.inc
Save a field's settings after editing.
content_field_overview_form_submit in includes/content.admin.inc

File

includes/content.admin.inc, line 1350
Administrative interface for content type creation.

Code

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