You are here

adstxt.admin.inc in AdsTxt 7

Administrative page callbacks for the adstxt module.

File

adstxt.admin.inc
View source
<?php

/**
 * @file
 * Administrative page callbacks for the adstxt module.
 */

/**
 * Administration settings form.
 *
 * @see system_settings_form()
 */
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);
}

Functions

Namesort descending Description
adstxt_admin_settings Administration settings form.