public function State::displayMessages in Feeds 8.3
Shows the messages to the user.
Overrides StateInterface::displayMessages
See also
\Drupal\feeds\StateInterface::setMessage()
File
- src/
State.php, line 124
Class
- State
- Status of the import or clearing operation of a Feed.
Namespace
Drupal\feedsCode
public function displayMessages() {
foreach ($this->messages as $message) {
\Drupal::messenger()
->addMessage($message['message'], $message['type'], $message['repeat']);
}
}