You are here

public function MailhandlerCommandsDefault::configForm in Mailhandler 7.2

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

Build configuration form.

Overrides MailhandlerCommands::configForm

File

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

Class

MailhandlerCommandsDefault
Provides default commands.

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'],
  );
}