function devel_update_8002
Same name in other branches
- 4.x devel.install \devel_update_8002()
Add enforced dependencies to system.menu.devel
File
-
./
devel.install, line 44
Code
function devel_update_8002() {
$config = \Drupal::configFactory()->getEditable('system.menu.devel');
$dependencies = $config->get('dependencies');
$dependencies['enforced']['module'][] = 'devel';
$config->set('dependencies', $dependencies)
->save(TRUE);
}