You are here

public function InviteByEmail::__construct in Invite 8

Constructs invite_by_email plugin.

Parameters

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

Overrides PluginBase::__construct

File

modules/invite_by_email/src/Plugin/Invite/InviteByEmail.php, line 47

Class

InviteByEmail
Class for Invite by Email.

Namespace

Drupal\invite_by_email\Plugin\Invite

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MessengerInterface $messenger) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->messenger = $messenger;
}