public function MessengerInterface::deleteMessagesByType in Service Container 7
Same name and namespace in other branches
- 8 src/Messenger/MessengerInterface.php \Drupal\service_container\Messenger\MessengerInterface::deleteMessagesByType()
- 7.2 src/Messenger/MessengerInterface.php \Drupal\service_container\Messenger\MessengerInterface::deleteMessagesByType()
Deletes all messages of a certain type.
Parameters
string $type: The messages' type. Either self::STATUS, self::WARNING, or self::ERROR.
Return value
$this
1 method overrides MessengerInterface::deleteMessagesByType()
- LegacyMessenger::deleteMessagesByType in src/
Messenger/ LegacyMessenger.php - Deletes all messages of a certain type.
File
- src/
Messenger/ MessengerInterface.php, line 79 - Contains \Drupal\Core\Messenger\MessengerInterface.
Class
Namespace
Drupal\service_container\MessengerCode
public function deleteMessagesByType($type);