You are here

function protected_node_admin_settings in Protected Node 5

Same name and namespace in other branches
  1. 6 protected_node.settings.inc \protected_node_admin_settings()
  2. 7 protected_node.settings.inc \protected_node_admin_settings()
  3. 1.0.x protected_node.settings.inc \protected_node_admin_settings()

Define the settings form

Return value

$form The settings form

1 string reference to 'protected_node_admin_settings'
protected_node_menu in ./protected_node.module
Implementation of hook_menu(). @link http://api.drupal.org/api/function/hook_menu/5

File

./protected_node.module, line 318

Code

function protected_node_admin_settings() {
  $form['protected_node_info'] = array(
    '#type' => 'textarea',
    '#title' => t('Password page info'),
    '#default_value' => variable_get('protected_node_info', ''),
    '#description' => t('You can use node type tokens from the token module if you have installed it previously.'),
  );
  return system_settings_form($form);
}