You are here

function varbase_landing_update_8001 in Varbase Landing Page (Paragraphs) 8.4

Enable viewsreference module.

File

./varbase_landing.install, line 30
Install, update and uninstall functions for the Varbase landing module.

Code

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