You are here

abstract class MessageUiViewsContextualLinksBase in Message UI 8

Base class for Message UI views contextual links plugins.

Hierarchy

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_ui
View 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

Namesort descending Modifiers Type Description Overrides
MessageUiViewsContextualLinksBase::$message protected property The message object.
MessageUiViewsContextualLinksBase::getMessage public function Get te message object. Overrides MessageUiViewsContextualLinksInterface::getMessage
MessageUiViewsContextualLinksBase::setMessage public function Set the message object. Overrides MessageUiViewsContextualLinksInterface::setMessage
MessageUiViewsContextualLinksInterface::access public function Checking if the user have access to do the action. 4
MessageUiViewsContextualLinksInterface::getRouterInfo public function Return the an array with the router ID and message info. 4
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.
PluginBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. 92