public function ConfigEventSubscriber::__construct in Tome 8
Constructs the ConfigEventSubscriber object.
Parameters
\Drupal\Core\Config\StorageInterface $config_storage: The config storage.
File
- modules/
tome_sync/ src/ EventSubscriber/ ConfigEventSubscriber.php, line 31
Class
- ConfigEventSubscriber
- Keeps the config export directory synced with config CRUD operations.
Namespace
Drupal\tome_sync\EventSubscriberCode
public function __construct(StorageInterface $config_storage) {
$this->configStorage = $config_storage;
}