You are here

public function MailhandlerComment::submitConfigurationForm in Mailhandler 8

File

mailhandler_comment/src/Plugin/inmail/Handler/MailhandlerComment.php, line 209

Class

MailhandlerComment
Message handler that supports posting comments via email.

Namespace

Drupal\mailhandler_comment\Plugin\inmail\Handler

Code

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