You are here

function subscriptions_mail_preview in Subscriptions 2.0.x

Same name and namespace in other branches
  1. 7 subscriptions_mail.module \subscriptions_mail_preview()

Submit handler for the 'Preview template' button.

_state

Parameters

array $form:

1 string reference to 'subscriptions_mail_preview'
_subscriptions_mail_form_mail_edit_template_form_alter in subscriptions_mail/subscriptions_mail.mail_edit.inc
Implements hook_form_alter().

File

subscriptions_mail/subscriptions_mail.module, line 250
Subscriptions module mail gateway.

Code

function subscriptions_mail_preview(array $form, array &$form_state) {
  _subscriptions_mail_module_load_include('mail_edit.inc');
  _subscriptions_mail_preview($form, $form_state);
}