function dpr

Same name in other branches
  1. 6.x-1.x devel.module \dpr()
  2. 7.x-1.x devel.module \dpr()
  3. 8.x-1.x devel.module \dpr()
  4. 4.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 string reference to 'dpr'
DevelDumperBase::getInternalFunctions in src/DevelDumperBase.php
Returns a list of internal functions.

File

./devel.module, line 527

Code

function dpr($input, $export = FALSE, $name = NULL) {
    return Drupal::service('devel.dumper')->dumpOrExport(input: $input, name: $name, export: $export, plugin_id: 'default');
}