You are here

public function DevelDumperManagerInterface::exportAsRenderable in Devel 8

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

Class

DevelDumperManagerInterface
Interface DevelDumperManagerInterface

Namespace

Drupal\devel

Code

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