function varbase_update_8007 in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.4
Enable content lock timeout module.
File
- ./
varbase.install, line 198 - Install, update and uninstall functions for the Varbase installation profile.
Code
function varbase_update_8007() {
if (!\Drupal::moduleHandler()
->moduleExists('content_lock_timeout')) {
\Drupal::service('module_installer')
->install([
'content_lock_timeout',
], FALSE);
}
}