You are here

public function MailhandlerCommandsDefault::configForm in Mailhandler 6.2

Same name and namespace in other branches
  1. 7.2 plugins/mailhandler/commands/MailhandlerCommandsDefault.class.php \MailhandlerCommandsDefault::configForm()

Build configuration form.

Overrides MailhandlerCommands::configForm

File

plugins/mailhandler/commands/MailhandlerCommandsDefault.class.php, line 64
MailhandlerCommandsDefault class.

Class

MailhandlerCommandsDefault
@file MailhandlerCommandsDefault class.

Code

public function configForm(&$form, &$form_state, $config) {
  $form['available_commands'] = array(
    '#type' => 'textarea',
    '#title' => t('Available commands'),
    '#description' => t('A set of commands that can be mapped to Feeds processor targets.'),
    '#default_value' => $config['available_commands'],
  );
}