You are here

function template_preprocess_simplenews_multi_block in Simplenews 7

Same name and namespace in other branches
  1. 6.2 simplenews.module \template_preprocess_simplenews_multi_block()
  2. 7.2 simplenews.module \template_preprocess_simplenews_multi_block()

Process variables for the multi subscription block.

$variables are empty:

See also

simplenews-multi-block.tpl.php

File

./simplenews.module, line 2400
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');
}