function dvr

Same name in other branches
  1. 6.x-1.x devel.module \dvr()
  2. 7.x-1.x devel.module \dvr()
  3. 8.x-1.x devel.module \dvr()
  4. 5.x devel.module \dvr()

Wrapper for DevelDumperManager::dumpOrExport().

Like dpr(), but uses Variable::export() instead.

See also

\Drupal\devel\DevelDumperManager::dumpOrExport()

1 string reference to 'dvr'
DevelDumperBase::getInternalFunctions in src/DevelDumperBase.php
Returns a list of internal functions.

File

./devel.module, line 558

Code

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