function dvr

Same name in other branches
  1. 7.x-1.x devel.module \dvr()
  2. 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');
}