You are here

config_sync.install in Configuration Synchronizer 8

Same filename and directory in other branches
  1. 8.2 config_sync.install

Install, update and uninstall functions for the config_sync module.

File

config_sync.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the config_sync module.
 */

/**
 * Implements hook_install().
 *
 * Takes a snapshot of configuration from extensions already installed on the
 * site.
 */
function config_sync_install() {
  \Drupal::service('config_sync.snapshotter')
    ->refreshSnapshot();
}

Functions

Namesort descending Description
config_sync_install Implements hook_install().