You are here

public function VersionComparison::__construct in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x modules/cms_content_sync_developer/src/EventSubscriber/VersionComparison.php \Drupal\cms_content_sync_developer\EventSubscriber\VersionComparison::__construct()
  2. 2.0.x modules/cms_content_sync_developer/src/EventSubscriber/VersionComparison.php \Drupal\cms_content_sync_developer\EventSubscriber\VersionComparison::__construct()

MyModuleService constructor.

Parameters

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

File

modules/cms_content_sync_developer/src/EventSubscriber/VersionComparison.php, line 39

Class

VersionComparison
A subscriber triggering a config when certain configuration changes.

Namespace

Drupal\cms_content_sync_developer\EventSubscriber

Code

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