You are here

function robotstxt_admin_settings in RobotsTxt 7

Same name and namespace in other branches
  1. 5 robotstxt.module \robotstxt_admin_settings()
  2. 6 robotstxt.admin.inc \robotstxt_admin_settings()

Administration settings form.

See also

system_settings_form()

1 string reference to 'robotstxt_admin_settings'
robotstxt_menu in ./robotstxt.module
Implements hook_menu().

File

./robotstxt.admin.inc, line 13
Administrative page callbacks for the robotstxt module.

Code

function robotstxt_admin_settings() {
  $form['robotstxt'] = array(
    '#type' => 'textarea',
    '#title' => t('Contents of robots.txt'),
    '#default_value' => variable_get('robotstxt', ''),
    '#cols' => 60,
    '#rows' => 20,
    '#wysiwyg' => FALSE,
  );
  return system_settings_form($form);
}