You are here

function config_sync_modules_installed in Configuration Synchronizer 8.2

Same name and namespace in other branches
  1. 8 config_sync.module \config_sync_modules_installed()

Implements hook_modules_installed().

File

./config_sync.module, line 38
Manage synchronizing configuration from extensions.

Code

function config_sync_modules_installed($module_names) {
  \Drupal::service('config_sync.snapshotter')
    ->refreshExtensionSnapshot('module', $module_names, ConfigSyncSnapshotterInterface::SNAPSHOT_MODE_INSTALL);
}