You are here

public function IdentityChannelManagerInterface::getCourierIdentity in Courier 8

Same name and namespace in other branches
  1. 2.x src/Service/IdentityChannelManagerInterface.php \Drupal\courier\Service\IdentityChannelManagerInterface::getCourierIdentity()

Instantiate a CourierIdentity plugin instance.

Parameters

string $channel_type_id: A channel entity type ID.

string $identity_type_id: An identity entity type ID.

Return value

\Drupal\courier\Plugin\IdentityChannel\IdentityChannelPluginInterface|NULL A CourierIdentity plugin instance, or NULL if no plugin was found.

1 method overrides IdentityChannelManagerInterface::getCourierIdentity()
IdentityChannelManager::getCourierIdentity in src/Service/IdentityChannelManager.php
Instantiate a CourierIdentity plugin instance.

File

src/Service/IdentityChannelManagerInterface.php, line 41
Contains \Drupal\courier\Service\IdentityChannelManagerInterface.

Class

IdentityChannelManagerInterface
Interface for identity channel manager.

Namespace

Drupal\courier\Service

Code

public function getCourierIdentity($channel_type_id, $identity_type_id);