You are here

public function DevelDumperInterface::export in Devel 8

Same name and namespace in other branches
  1. 8.3 src/DevelDumperInterface.php \Drupal\devel\DevelDumperInterface::export()
  2. 8.2 src/DevelDumperInterface.php \Drupal\devel\DevelDumperInterface::export()
  3. 4.x src/DevelDumperInterface.php \Drupal\devel\DevelDumperInterface::export()

Returns a string representation of a variable.

Parameters

mixed $input: The variable to export.

string $name: (optional) The label to output before variable, defaults to NULL.

Return value

string String representation of a variable.

1 call to DevelDumperInterface::export()
DevelDumperBase::exportAsRenderable in src/DevelDumperBase.php
Returns a string representation of a variable wrapped in a render array.
8 methods override DevelDumperInterface::export()
AvailableTestDumper::export in tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/AvailableTestDumper.php
Returns a string representation of a variable.
ChromePhp::export in src/Plugin/Devel/Dumper/ChromePhp.php
Returns a string representation of a variable.
DoctrineDebug::export in src/Plugin/Devel/Dumper/DoctrineDebug.php
Returns a string representation of a variable.
DrupalVariable::export in src/Plugin/Devel/Dumper/DrupalVariable.php
Returns a string representation of a variable.
FirePhp::export in src/Plugin/Devel/Dumper/FirePhp.php
Returns a string representation of a variable.

... See full list

File

src/DevelDumperInterface.php, line 36

Class

DevelDumperInterface
Base interface definition for DevelDumper plugins.

Namespace

Drupal\devel

Code

public function export($input, $name = NULL);