function dpr
Same name in other branches
- 6.x-1.x devel.module \dpr()
- 7.x-1.x devel.module \dpr()
- 8.x-1.x devel.module \dpr()
- 5.x devel.module \dpr()
Wrapper for DevelDumperManager::dumpOrExport().
An alias for the devel.dumper service. Saves carpal tunnel syndrome.
See also
\Drupal\devel\DevelDumperManager::dumpOrExport()
1 call to dpr()
- ConfigEditor::buildForm in src/
Form/ ConfigEditor.php - Form constructor.
1 string reference to 'dpr'
- DevelDumperBase::getInternalFunctions in src/
DevelDumperBase.php - Returns a list of internal functions.
File
-
./
devel.module, line 536
Code
function dpr($input, $export = FALSE, $name = NULL) {
return \Drupal::service('devel.dumper')->dumpOrExport($input, $name, $export, 'default');
}