You are here

public function UserEmailVerificationNotificationBlock::defaultConfiguration in User email verification 8

Overrides BlockPluginTrait::defaultConfiguration

File

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

Class

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

Namespace

Drupal\user_email_verification\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'notification' => [
      'value' => $this
        ->t('Verify your Email by 3 simple steps:<br>1. Open your mail inbox,<br>2. Find Email verification message from [site:name],<br>3. Click by verification link.'),
      'format' => NULL,
    ],
  ];
}