You are here

public function Messenger::setMessage in Views XML Backend 8

Sets a message to display to the user.

Overrides MessengerInterface::setMessage

See also

drupal_set_message()

File

src/Messenger.php, line 18
Contains \Drupal\views_xml_backend\Messenger.

Class

Messenger
The default messenger.

Namespace

Drupal\views_xml_backend

Code

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