MessageUiViewsContextualLinksBase.php in Message UI 8
Namespace
Drupal\message_uiFile
src/MessageUiViewsContextualLinksBase.phpView source
<?php
namespace Drupal\message_ui;
use Drupal\Component\Plugin\PluginBase;
use Drupal\message\Entity\Message;
/**
* Base class for Message UI views contextual links plugins.
*/
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;
}
}
Classes
Name | Description |
---|---|
MessageUiViewsContextualLinksBase | Base class for Message UI views contextual links plugins. |