function DevelDumperManagerInterface::dumpOrExport
Same name in other branches
- 8.x-1.x src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::dumpOrExport()
- 5.x src/DevelDumperManagerInterface.php \Drupal\devel\DevelDumperManagerInterface::dumpOrExport()
Wrapper for ::dump() and ::export().
Parameters
mixed $input: The variable to dump.
string $name: (optional) The label to output before variable, defaults to NULL.
bool $export: (optional) Whether return string representation of a variable.
string $plugin_id: (optional) The plugin ID, defaults to NULL.
Return value
string|null String representation of a variable if $export is set to TRUE, NULL otherwise.
1 method overrides DevelDumperManagerInterface::dumpOrExport()
- DevelDumperManager::dumpOrExport in src/
DevelDumperManager.php - Wrapper for ::dump() and ::export().
File
-
src/
DevelDumperManagerInterface.php, line 87
Class
- DevelDumperManagerInterface
- Interface DevelDumperManagerInterface.
Namespace
Drupal\develCode
public function dumpOrExport($input, $name = NULL, $export = TRUE, $plugin_id = NULL);