abstract class MessageUiViewsContextualLinksBase in Message UI 8
Base class for Message UI views contextual links plugins.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\message_ui\MessageUiViewsContextualLinksBase implements MessageUiViewsContextualLinksInterface
Expanded class hierarchy of MessageUiViewsContextualLinksBase
4 files declare their use of MessageUiViewsContextualLinksBase
- MessageUiContextualLinkDeleteMessage.php in src/
Plugin/ MessageUiViewsContextualLinks/ MessageUiContextualLinkDeleteMessage.php - MessageUiContextualLinkEditMessage.php in src/
Plugin/ MessageUiViewsContextualLinks/ MessageUiContextualLinkEditMessage.php - MessageUiContextualLinkNotifyMessage.php in modules/
message_notify_ui/ src/ Plugin/ MessageUiViewsContextualLinks/ MessageUiContextualLinkNotifyMessage.php - MessageUiContextualLinkViewMessage.php in src/
Plugin/ MessageUiViewsContextualLinks/ MessageUiContextualLinkViewMessage.php
File
- src/
MessageUiViewsContextualLinksBase.php, line 11
Namespace
Drupal\message_uiView source
abstract class MessageUiViewsContextualLinksBase extends PluginBase implements MessageUiViewsContextualLinksInterface {
/**
* The message object.
*
* @var \Drupal\message\Entity\Message
*/
protected $message;
/**
* {@inheritdoc}
*/
public function setMessage(Message $message) {
$this->message = $message;
}
/**
* {@inheritdoc}
*/
public function getMessage() {
return $this->message;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MessageUiViewsContextualLinksBase:: |
protected | property | The message object. | |
MessageUiViewsContextualLinksBase:: |
public | function |
Get te message object. Overrides MessageUiViewsContextualLinksInterface:: |
|
MessageUiViewsContextualLinksBase:: |
public | function |
Set the message object. Overrides MessageUiViewsContextualLinksInterface:: |
|
MessageUiViewsContextualLinksInterface:: |
public | function | Checking if the user have access to do the action. | 4 |
MessageUiViewsContextualLinksInterface:: |
public | function | Return the an array with the router ID and message info. | 4 |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |