public function MessageUiViewsContextualLinksInterface::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.
1 method overrides MessageUiViewsContextualLinksInterface::setMessage()
- MessageUiViewsContextualLinksBase::setMessage in src/
MessageUiViewsContextualLinksBase.php - Set the message object.
File
- src/
MessageUiViewsContextualLinksInterface.php, line 22
Class
- MessageUiViewsContextualLinksInterface
- Defines an interface for Message UI views contextual links plugins.
Namespace
Drupal\message_uiCode
public function setMessage(Message $message);