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
Namespace
Drupal\config_syncCode
protected function getSyncExtensions() {
$types = [
'module' => array_keys(\Drupal::service('module_handler')
->getModuleList()),
'theme' => array_keys(\Drupal::service('theme_handler')
->listInfo()),
];
return $types;
}