public function Permissions::__construct in Courier 8
Same name and namespace in other branches
- 2.x courier_message_composer/src/Permissions.php \Drupal\courier_message_composer\Permissions::__construct()
Constructs a CourierMessageController object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\courier\Service\IdentityChannelManagerInterface $identity_channel_manager: The identity channel manager.
File
- courier_message_composer/
src/ Permissions.php, line 40
Class
- Permissions
- Define a permission generator for Courier Message Composer.
Namespace
Drupal\courier_message_composerCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, IdentityChannelManagerInterface $identity_channel_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->identityChannelManager = $identity_channel_manager;
}