protected function IdentityChannelManager::getNonFallbackDefinitions in Courier 8
Same name and namespace in other branches
- 2.x src/Service/IdentityChannelManager.php \Drupal\courier\Service\IdentityChannelManager::getNonFallbackDefinitions()
Get a list of non-broken plugins.
Return value
array A list of IdentityChannel plugins keyed by plugin ID.
3 calls to IdentityChannelManager::getNonFallbackDefinitions()
- IdentityChannelManager::getChannels in src/
Service/ IdentityChannelManager.php - Gets all channel implementations.
- IdentityChannelManager::getCourierIdentityPluginID in src/
Service/ IdentityChannelManager.php - Get IdentityChannel plugin ID bridging a identity and message combination.
- IdentityChannelManager::getIdentityTypes in src/
Service/ IdentityChannelManager.php - Gets all identity types.
File
- src/
Service/ IdentityChannelManager.php, line 124
Class
- IdentityChannelManager
- Manages discovery and instantiation of CourierIdentity plugins.
Namespace
Drupal\courier\ServiceCode
protected function getNonFallbackDefinitions() {
$definitions = $this
->getDefinitions();
unset($definitions['broken']);
return $definitions;
}