path_admin_edit

Versions
4.6 – 6
path_admin_edit($pid = 0)
7
path_admin_edit($path = array())

Menu callback; handles pages for creating and editing URL aliases.

Code

modules/path/path.admin.inc, line 81

<?php
function path_admin_edit($path = array()) {
  if ($path) {
    drupal_set_title($path['alias']);
    $output = drupal_get_form('path_admin_form', $path);
  }
  else {
    $output = drupal_get_form('path_admin_form');
  }

  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.