You are here

public function MessengerInterface::setMessage in Views XML Backend 8

Sets a message to display to the user.

See also

drupal_set_message()

2 methods override MessengerInterface::setMessage()
Messenger::setMessage in src/Messenger.php
Sets a message to display to the user.
TestMessenger::setMessage in src/TestMessenger.php
Sets a message to display to the user.

File

src/MessengerInterface.php, line 20
Contains \Drupal\views_xml_backend\MessengerInterface.

Class

MessengerInterface
Allows a plugable drupal_set_message() implementation.

Namespace

Drupal\views_xml_backend

Code

public function setMessage($message = NULL, $type = 'status', $repeat = FALSE);