You are here

public function MailhandlerNode::submitConfigurationForm in Mailhandler 8

File

src/Plugin/inmail/Handler/MailhandlerNode.php, line 232

Class

MailhandlerNode
Message handler that creates a node from a mail message.

Namespace

Drupal\mailhandler\Plugin\inmail\Handler

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  parent::submitConfigurationForm($form, $form_state);
  $this->configuration['content_type'] = $form_state
    ->getValue('content_type');
}