You are here

function tome_update_8001 in Tome 8

Installs the new tome_sync and tome_static sub-modules.

File

./tome.install, line 11
Install, update, and uninstall functions for Tome.

Code

function tome_update_8001() {

  /** @var \Drupal\Core\Extension\ModuleInstallerInterface $installer */
  $installer = \Drupal::service('module_installer');
  $installer
    ->install([
    'tome_base',
    'tome_static',
    'tome_sync',
  ]);
}