You are here

single_page_site.install in Single Page Site 8

Install, update, and uninstall functions.

File

single_page_site.install
View source
<?php

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

/**
 * Implements hook_uninstall().
 */
function single_page_site_uninstall() {

  // Delete variables.
  \Drupal::state()
    ->delete('single_page_site_settings');
}

/**
 * Flush caches to pick up new services.
 */
function single_page_site_update_8101() {

  // This hook already flushed caches, so we don't need to do anything.
}

Functions

Namesort descending Description
single_page_site_uninstall Implements hook_uninstall().
single_page_site_update_8101 Flush caches to pick up new services.