public function Broken::applyIdentity in Courier 8
Same name and namespace in other branches
- 2.x src/Plugin/IdentityChannel/Broken.php \Drupal\courier\Plugin\IdentityChannel\Broken::applyIdentity()
Inserts the identity into the message.
Parameters
\Drupal\courier\ChannelInterface $message: The message. Passed by reference.
EntityInterface $identity: The identity.
Throws
\Drupal\courier\Exception\IdentityException Thrown when an identity cannot be applied. Message is discarded, it does not stop creation of remaining messages in collection.
Overrides IdentityChannelPluginInterface::applyIdentity
File
- src/
Plugin/ IdentityChannel/ Broken.php, line 27 - Contains \Drupal\courier\Plugin\IdentityChannel\Broken.
Class
- Broken
- Fallback plugin for missing IdentityChannel plugins.
Namespace
Drupal\courier\Plugin\IdentityChannelCode
public function applyIdentity(ChannelInterface &$message, EntityInterface $identity) {
}