template_preprocess_simplenews_multi_block

  1. drupal
    1. 6 simplenews.module function
    2. 7 simplenews.module function
Drupal 7 template_preprocess_simplenews_multi_block(&$variables)

Process variables for the multi subscription block.

$variables are empty:

See also

simplenews-multi-block.tpl.php

File

sites/all/modules/simplenews/simplenews.module, line 2578
Simplenews node handling, sent email, newsletter block and general hooks

Code

function template_preprocess_simplenews_multi_block(&$variables) {
  // Block content variables
  $variables['message'] = check_plain(variable_get('simplenews_block_m_multiple', t('Select the newsletter(s) to which you want to subscribe or unsubscribe.')));
  $variables['form'] = drupal_get_form('simplenews_subscriptions_multi_block_form');
}