function devel_install
Same name in other branches
- 6.x-1.x devel.install \devel_install()
Implements hook_install().
File
-
./
devel.install, line 14
Code
function devel_install() {
$rich_dumper = NULL;
if (VarDumper::checkRequirements()) {
$rich_dumper = 'var_dumper';
}
elseif (Kint::checkRequirements()) {
$rich_dumper = 'kint';
}
if (isset($rich_dumper)) {
\Drupal::configFactory()->getEditable('devel.settings')
->set('devel_dumper', $rich_dumper)
->save(TRUE);
}
}