You are here

function adstxt_admin_settings in AdsTxt 7

Administration settings form.

See also

system_settings_form()

1 string reference to 'adstxt_admin_settings'
adstxt_menu in ./adstxt.module
Implements hook_menu().

File

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

Code

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