public function MessageUiViewsContextualLinksBase::setMessage in Message UI 8
Set the message object.
Parameters
\Drupal\message\Entity\Message $message: The message object.
Return value
\Drupal\message_ui\MessageUiViewsContextualLinksInterface The current object.
Overrides MessageUiViewsContextualLinksInterface::setMessage
File
- src/
MessageUiViewsContextualLinksBase.php, line 23
Class
- MessageUiViewsContextualLinksBase
- Base class for Message UI views contextual links plugins.
Namespace
Drupal\message_uiCode
public function setMessage(Message $message) {
$this->message = $message;
}