function devel_export
Same name in other branches
- 5.x devel.module \devel_export()
Returns a string representation of a variable.
Wrapper for DevelDumperManager::export().
Parameters
mixed $input: The variable to dump.
string $name: (optional) The label to output before variable, defaults to NULL.
string $plugin_id: (optional) The plugin ID, defaults to NULL.
Return value
string String representation of a variable.
See also
\Drupal\devel\DevelDumperManager::export()
File
-
./
devel.module, line 325
Code
function devel_export($input, $name = NULL, $plugin_id = NULL) {
return \Drupal::service('devel.dumper')->export($input, $name, $plugin_id);
}