You are here

tome.install in Tome 8

Install, update, and uninstall functions for Tome.

File

tome.install
View source
<?php

/**
 * @file
 * Install, update, and uninstall functions for Tome.
 */

/**
 * Installs the new tome_sync and tome_static sub-modules.
 */
function tome_update_8001() {

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

Functions

Namesort descending Description
tome_update_8001 Installs the new tome_sync and tome_static sub-modules.