You are here

public function FeedsExMessenger::setMessage in Feeds extensible parsers 7

Same name and namespace in other branches
  1. 7.2 src/FeedsExBase.inc \FeedsExMessenger::setMessage()

Sets a message to display to the user.

Parameters

string $message: The message.

string $type: (optional) The type of message. Defaults to 'status'.

bool $repeat: (optional) Whether to allow the message to repeat. Defaults to true.

Overrides FeedsExMessengerInterface::setMessage

See also

drupal_set_message()

File

src/FeedsExBase.inc, line 814
Contains FeedsExBase.

Class

FeedsExMessenger
Uses drupal_set_message() to show messages.

Code

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