You are here

public function MailhandlerCommandsExtendedHeaders::configForm in Mailhandler 7.2

Same name and namespace in other branches
  1. 6.2 modules/mailhandler_extended/plugins/mailhandler/commands/MailhandlerCommandsExtendedHeaders.class.php \MailhandlerCommandsExtendedHeaders::configForm()

Build configuration form.

Overrides MailhandlerCommands::configForm

File

modules/mailhandler_extended/plugins/mailhandler/commands/MailhandlerCommandsExtendedHeaders.class.php, line 15
MailhandlerCommandsExtendedHeaders class.

Class

MailhandlerCommandsExtendedHeaders
Provides extended headers from messages.

Code

public function configForm(&$form, &$form_state, $config) {
  $form['extended_headers'] = array(
    '#type' => 'textarea',
    '#title' => t('Extended headers'),
    '#description' => t('Additional headers that can be mapped to Feeds processor targets.'),
    '#default_value' => $config['extended_headers'],
  );
}