function Messenger::addWarning
Same name in other branches
- 9 core/lib/Drupal/Core/Messenger/Messenger.php \Drupal\Core\Messenger\Messenger::addWarning()
- 8.9.x core/lib/Drupal/Core/Messenger/Messenger.php \Drupal\Core\Messenger\Messenger::addWarning()
- 10 core/lib/Drupal/Core/Messenger/Messenger.php \Drupal\Core\Messenger\Messenger::addWarning()
Overrides MessengerInterface::addWarning
File
-
core/
lib/ Drupal/ Core/ Messenger/ Messenger.php, line 79
Class
- Messenger
- The messenger service.
Namespace
Drupal\Core\MessengerCode
public function addWarning($message, $repeat = FALSE) {
return $this->addMessage($message, static::TYPE_WARNING, $repeat);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.