function DevelDumperManager::exportAsRenderable
Same name in other branches
- 8.x-1.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::exportAsRenderable()
- 5.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::exportAsRenderable()
Overrides DevelDumperManagerInterface::exportAsRenderable
File
-
src/
DevelDumperManager.php, line 131
Class
- DevelDumperManager
- Class DevelDumperManager.
Namespace
Drupal\develCode
public function exportAsRenderable($input, $name = NULL, $plugin_id = NULL) {
if ($this->hasAccessToDevelInformation()) {
return $this->createInstance($plugin_id)
->exportAsRenderable($input, $name);
}
return [];
}