You are here

protected function ConfigSyncExtensionsTrait::getSyncExtensions in Configuration Synchronizer 8.2

3 calls to ConfigSyncExtensionsTrait::getSyncExtensions()
ConfigSyncLister::getExtensionChangelists in src/ConfigSyncLister.php
Returns a change list for all installed extensions.
ConfigSyncSnapshotter::createSnapshot in src/ConfigSyncSnapshotter.php
Takes a snapshot of configuration from all installed modules and themes.
SyncConfigCollector::alterConfigSnapshots in src/Plugin/SyncConfigCollector.php
Alters configuration snapshots.

File

src/ConfigSyncExtensionsTrait.php, line 13

Class

ConfigSyncExtensionsTrait

Namespace

Drupal\config_sync

Code

protected function getSyncExtensions() {
  $types = [
    'module' => array_keys(\Drupal::service('module_handler')
      ->getModuleList()),
    'theme' => array_keys(\Drupal::service('theme_handler')
      ->listInfo()),
  ];
  return $types;
}