public function ConfigFilterStorageFactory::getSyncWithoutExcluded in Config Filter 8
Same name and namespace in other branches
- 8.2 src/ConfigFilterStorageFactory.php \Drupal\config_filter\ConfigFilterStorageFactory::getSyncWithoutExcluded()
Get the sync storage Drupal uses and exclude some plugins.
Parameters
string[] $excluded: The ids of filters to exclude.
Return value
\Drupal\config_filter\Config\FilteredStorageInterface The decorated sync config storage.
File
- src/
ConfigFilterStorageFactory.php, line 66
Class
- ConfigFilterStorageFactory
- Class ConfigFilterFactory.
Namespace
Drupal\config_filterCode
public function getSyncWithoutExcluded(array $excluded) {
return $this
->getFilteredStorage($this->sync, [
'config.storage.sync',
], $excluded);
}