You are here

function me_settings in me aliases 5

Implementation of hook_settings().

Provide a single textbox that allows admins to enter any number of paths containing 'me'

1 string reference to 'me_settings'
me_menu in ./me.module
Implementation of hook_menu().

File

./me.module, line 67

Code

function me_settings() {
  $form['me_aliases'] = array(
    '#type' => 'textarea',
    '#title' => t('Aliases to create'),
    '#default_value' => variable_get('me_aliases', "user/me"),
    '#cols' => 50,
    '#rows' => 6,
    '#description' => t('The per-user aliases to create. Each alias must contain the \'me\' fragment or it will be ignored. Enter one alias per line, and do not include trailing or leading slashes.'),
  );
  return system_settings_form($form);
}