You are here

public function ConfigSubscriber::__construct in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 2.1.x src/EventSubscriber/ConfigSubscriber.php \Drupal\cms_content_sync\EventSubscriber\ConfigSubscriber::__construct()

Parameters

\Drupal\Core\Config\ConfigFactory $config_factory: The config factory

File

src/EventSubscriber/ConfigSubscriber.php, line 36

Class

ConfigSubscriber
A subscriber triggering a config when certain configuration changes.

Namespace

Drupal\cms_content_sync\EventSubscriber

Code

public function __construct(ConfigFactory $config_factory, EntityTypeManagerInterface $entity_type_manager) {
  $this->config_factory = $config_factory;
  $this->entity_type_manager = $entity_type_manager;
}