function DevelDumperManager::message
Same name in other branches
- 8.x-1.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::message()
- 5.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::message()
Overrides DevelDumperManagerInterface::message
File
-
src/
DevelDumperManager.php, line 94
Class
- DevelDumperManager
- Class DevelDumperManager.
Namespace
Drupal\develCode
public function message($input, $name = NULL, $type = MessengerInterface::TYPE_STATUS, $plugin_id = NULL) {
if ($this->hasAccessToDevelInformation()) {
$output = $this->export($input, $name, $plugin_id);
$this->messenger()
->addMessage($output, $type, TRUE);
}
}