function _path_alias_xt_admin_settings in Extended Path Aliases 6
Menu callback for admin settings.
1 string reference to '_path_alias_xt_admin_settings'
- path_alias_xt_menu in ./
path_alias_xt.module - Implementation of hook_menu().
File
- ./
path_alias_xt.module, line 67 - Extended Path Aliases.
Code
function _path_alias_xt_admin_settings() {
$form['path_alias_xt_regex_pattern'] = array(
'#type' => 'textfield',
'#title' => t('Regular expression to match node and user internal paths'),
'#default_value' => variable_get('path_alias_xt_regex_pattern', PATH_ALIAS_XT_DEFAULT_NODE_OR_USER_MATCH),
'#description' => t("While you can always reset this configuration without permanent damage to your site, a change to this expression may break all extended aliases. Change only when you know what you're doing."),
);
return system_settings_form($form);
}