public function ConfigImportEventSubscriber::onConfigImporterSave in ThemeKey 8
File
- src/
EventSubscriber/ ConfigImportEventSubscriber.php, line 22
Class
- ConfigImportEventSubscriber
- Defines a event listener implementation for config import.
Namespace
Drupal\themekey\EventSubscriberCode
public function onConfigImporterSave(ConfigCrudEvent $event) {
$ruleChainManager = $this
->getRuleChainManager();
$ruleChainManager
->rebuildOptimizedChain($event
->getConfig()
->get('chain'));
}