public function DevelDumperManager::dump in Devel 8
Same name and namespace in other branches
- 8.3 src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::dump()
- 8.2 src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::dump()
- 4.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::dump()
Dumps information about a variable.
Parameters
mixed $input: The variable to dump.
string $name: (optional) The label to output before variable, defaults to NULL.
string $plugin_id: (optional) The plugin ID, defaults to NULL.
Overrides DevelDumperManagerInterface::dump
File
- src/
DevelDumperManager.php, line 72
Class
- DevelDumperManager
- Class DevelDumperManager.
Namespace
Drupal\develCode
public function dump($input, $name = NULL, $plugin_id = NULL) {
if ($this
->hasAccessToDevelInformation()) {
$this
->createInstance($plugin_id)
->dump($input, $name);
}
}