You are here

function newsletter_variable_info in Newsletter 7

Implements hook_variable_info().

File

./newsletter.module, line 504
Defines menu items for newsletter administration, permissions and basic drupal hooks.

Code

function newsletter_variable_info($options) {
  $variable['newsletter_block_prefix'] = array(
    'title' => t('Newsletter subscribe block prefix'),
    'description' => t('This text will appear above the email address in the subscribe block.'),
    'type' => 'string',
    'access' => 'administer newsletters',
  );
  $variable['newsletter_block_suffix'] = array(
    'title' => t('Newsletter subscribe block suffix'),
    'description' => t('This text will appear below the email address in the subscribe block.'),
    'type' => 'string',
    'access' => 'administer newsletters',
  );
  return $variable;
}