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