You are here

public function IdentityChannelManagerInterface::getCourierIdentity in Courier 2.x

Same name and namespace in other branches
  1. 8 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 36

Class

IdentityChannelManagerInterface
Interface for identity channel manager.

Namespace

Drupal\courier\Service

Code

public function getCourierIdentity($channel_type_id, $identity_type_id);