You are here

public function SubscriptionBlock::blockSubmit in Mailing List 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/SubscriptionBlock.php, line 185

Class

SubscriptionBlock
Mailing list subscription blocks.

Namespace

Drupal\mailing_list\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  $this->configuration['list'] = $form_state
    ->getValue('list');
  $this->configuration['message'] = $form_state
    ->getValue('message');
  $this->configuration['form_id'] = $form_state
    ->getValue('form_id');
  $this->configuration['manage_link'] = $form_state
    ->getValue('manage_link');
}