interface MessageNotifierInterface in Message Notify 8
Additional behaviors for a Entity Reference field.
Implementations that wish to provide an implementation of this should register it using CTools' plugin system.
Hierarchy
- interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface
- interface \Drupal\message_notify\Plugin\Notifier\MessageNotifierInterface
Expanded class hierarchy of MessageNotifierInterface
All classes that implement MessageNotifierInterface
1 string reference to 'MessageNotifierInterface'
File
- src/
Plugin/ Notifier/ MessageNotifierInterface.php, line 16
Namespace
Drupal\message_notify\Plugin\NotifierView source
interface MessageNotifierInterface extends ContainerFactoryPluginInterface, PluginInspectionInterface, DerivativeInspectionInterface {
/**
* Entry point to send and process a message.
*
* @return bool
* TRUE or FALSE based on delivery status.
*/
public function send();
/**
* Deliver a message via the required transport method.
*
* @param array $output
* Array keyed by the view mode, and the rendered entity in the
* specified view mode.
*
* @return bool
* TRUE or FALSE based on delivery status.
*/
public function deliver(array $output = []);
/**
* Act upon send result.
*
* @param bool $result
* The result from delivery.
* @param array $output
* The message output array.
*/
public function postSend($result, array $output = []);
/**
* Determine if user can access notifier.
*/
public function access();
/**
* Set the message object for the notifier.
*
* @param \Drupal\message\MessageInterface $message
* The message object.
*/
public function setMessage(MessageInterface $message);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
MessageNotifierInterface:: |
public | function | Determine if user can access notifier. | 1 |
MessageNotifierInterface:: |
public | function | Deliver a message via the required transport method. | 3 |
MessageNotifierInterface:: |
public | function | Act upon send result. | 1 |
MessageNotifierInterface:: |
public | function | Entry point to send and process a message. | 1 |
MessageNotifierInterface:: |
public | function | Set the message object for the notifier. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |