You are here

public function UserEmailVerificationNotificationBlock::blockSubmit in User email verification 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/UserEmailVerificationNotificationBlock.php, line 119

Class

UserEmailVerificationNotificationBlock
Block to display 'You have to verify your Email' notification.

Namespace

Drupal\user_email_verification\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  $this
    ->setConfigurationValue('notification', $form_state
    ->getValue('notification'));
}