function dvr in Devel 8
Same name and namespace in other branches
- 8.3 devel.module \dvr()
- 8.2 devel.module \dvr()
- 5 devel.module \dvr()
- 6 devel.module \dvr()
- 7 devel.module \dvr()
- 4.x devel.module \dvr()
Wrapper for DevelDumperManager::dumpOrExport().
Like dpr(), but uses Variable::export() instead.
See also
\Drupal\devel\DevelDumperManager::dumpOrExport()
File
- ./
devel.module, line 430 - This module holds functions useful for Drupal development. Please contribute!
Code
function dvr($input, $export = FALSE, $name = NULL) {
return \Drupal::service('devel.dumper')
->dumpOrExport($input, $name, $export, 'drupal_variable');
}