function DevelDumperManagerInterface::exportAsRenderable

Same name in other branches
  1. 4.x src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::exportAsRenderable()
  2. 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 100

Class

DevelDumperManagerInterface
Interface DevelDumperManagerInterface

Namespace

Drupal\devel

Code

public function exportAsRenderable($input, $name = NULL, $plugin_id = NULL);