function DevelDumperManagerInterface::exportAsRenderable
Same name in other branches
- 8.x-1.x src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::exportAsRenderable()
- 5.x src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::exportAsRenderable()
Returns a render array representation of a variable.
Parameters
mixed $input: The variable to export.
string $name: (optional) The label to output before variable, defaults to NULL.
string $plugin_id: (optional) The plugin ID, defaults to NULL.
Return value
array String representation of a variable wrapped in a render array.
1 method overrides DevelDumperManagerInterface::exportAsRenderable()
- DevelDumperManager::exportAsRenderable in src/
DevelDumperManager.php - Returns a render array representation of a variable.
File
-
src/
DevelDumperManagerInterface.php, line 102
Class
- DevelDumperManagerInterface
- Interface DevelDumperManagerInterface.
Namespace
Drupal\develCode
public function exportAsRenderable($input, $name = NULL, $plugin_id = NULL);