| Versionen | |
|---|---|
| drupal6 – drupal7 | path_admin_edit($pid = 0) |
Menu callback; handles pages for creating and editing URL aliases.
modules/
<?php
function path_admin_edit($pid = 0) {
if ($pid) {
$alias = path_load($pid);
drupal_set_title(check_plain($alias['dst']));
$output = drupal_get_form('path_admin_form', $alias);
}
else {
$output = drupal_get_form('path_admin_form');
}
return $output;
}
?>
Kommentare
Kommentar hinzufügen