You are here

public function ComposeAccessCheck::__construct in Courier 8

Same name and namespace in other branches
  1. 2.x courier_message_composer/src/Access/ComposeAccessCheck.php \Drupal\courier_message_composer\Access\ComposeAccessCheck::__construct()

Constructs a ComposeAccessCheck object.

Parameters

\Drupal\courier\Service\IdentityChannelManagerInterface $identity_channel_manager: The identity channel manager.

File

courier_message_composer/src/Access/ComposeAccessCheck.php, line 30

Class

ComposeAccessCheck
Checks if user can send to a channel.

Namespace

Drupal\courier_message_composer\Access

Code

public function __construct(IdentityChannelManagerInterface $identity_channel_manager) {
  $this->identityChannelManager = $identity_channel_manager;
}