public function DevelDumperManagerInterface::exportAsRenderable in Devel 8.2
Same name and namespace in other branches
- 8.3 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::exportAsRenderable()
- 8 src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::exportAsRenderable()
- 4.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);