You are here

function config_sync_install in Configuration Synchronizer 8

Same name and namespace in other branches
  1. 8.2 config_sync.install \config_sync_install()

Implements hook_install().

Takes a snapshot of configuration from extensions already installed on the site.

File

./config_sync.install, line 14
Install, update and uninstall functions for the config_sync module.

Code

function config_sync_install() {
  \Drupal::service('config_sync.snapshotter')
    ->refreshSnapshot();
}