You are here

function varbase_update_8028 in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.4

Enable Max length module.

File

./varbase.install, line 387
Install, update and uninstall functions for the Varbase installation profile.

Code

function varbase_update_8028() {
  if (!\Drupal::moduleHandler()
    ->moduleExists('maxlength')) {
    \Drupal::service('module_installer')
      ->install([
      'maxlength',
    ], FALSE);
  }
}