public function IdentityChannelManagerInterface::getChannelsForIdentity in Courier 8
Same name and namespace in other branches
- 2.x src/Service/IdentityChannelManagerInterface.php \Drupal\courier\Service\IdentityChannelManagerInterface::getChannelsForIdentity()
Determine which channels an identity would like a message sent to.
Parameters
\Drupal\Core\Entity\EntityInterface $identity: An identity entity.
Return value
string[] IDs of entity types which implement \Drupal\courier\ChannelInterface.
1 method overrides IdentityChannelManagerInterface::getChannelsForIdentity()
- IdentityChannelManager::getChannelsForIdentity in src/
Service/ IdentityChannelManager.php - @todo: Determine channel preference for individual identities. GH-2 | https://github.com/dpi/courier/issues/2
File
- src/
Service/ IdentityChannelManagerInterface.php, line 79 - Contains \Drupal\courier\Service\IdentityChannelManagerInterface.
Class
- IdentityChannelManagerInterface
- Interface for identity channel manager.
Namespace
Drupal\courier\ServiceCode
public function getChannelsForIdentity(EntityInterface $identity);