You are here

function config_sync_install in Configuration Synchronizer 8.2

Same name and namespace in other branches
  1. 8 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 20
Install, update and uninstall functions for the config_sync module.

Code

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