You are here

function adstxt_variable_info in AdsTxt 7

Implements hook_variable_info().

File

./adstxt.variable.inc, line 11
Definition of variables for Variable API module.

Code

function adstxt_variable_info($options = array()) {
  $variables['adstxt'] = array(
    'title' => t('Contents of ads.txt', array(), $options),
    'type' => 'text',
    'group' => 'adstxt',
    'localize' => TRUE,
    'multidomain' => TRUE,
  );
  return $variables;
}