function DevelDumperManagerInterface::exportAsRenderable
Same name in other branches
- 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: The label to output before variable.
string $plugin_id: The plugin ID.
bool $load_references: If the input is an entity, also load the referenced entities.
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 113
Class
- DevelDumperManagerInterface
- Interface for DevelDumper manager.
Namespace
Drupal\develCode
public function exportAsRenderable(mixed $input, $name = NULL, $plugin_id = NULL, $load_references = FALSE) : array;