function DevelDumperInterface::exportAsRenderable
Same name in other branches
- 5.x src/DevelDumperInterface.php \Drupal\devel\DevelDumperInterface::exportAsRenderable()
Returns a string representation of a variable wrapped in a render array.
Parameters
mixed $input: The variable to export.
string $name: (optional) The label to output before variable, defaults to NULL.
Return value
array String representation of a variable wrapped in a render array.
1 method overrides DevelDumperInterface::exportAsRenderable()
- DevelDumperBase::exportAsRenderable in src/
DevelDumperBase.php - Returns a string representation of a variable wrapped in a render array.
File
-
src/
DevelDumperInterface.php, line 49
Class
- DevelDumperInterface
- Base interface definition for DevelDumper plugins.
Namespace
Drupal\develCode
public function exportAsRenderable($input, $name = NULL);