You are here

public function DebugForm::__construct in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Form/DebugForm.php \Drupal\cms_content_sync\Form\DebugForm::__construct()
  2. 2.0.x src/Form/DebugForm.php \Drupal\cms_content_sync\Form\DebugForm::__construct()

Constructs an object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity query

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundle_info_service: The bundle info service

\Drupal\Core\Entity\EntityFieldManager $entity_field_manager: The entity field manager

Overrides ConfigFormBase::__construct

File

src/Form/DebugForm.php, line 55

Class

DebugForm
Content Sync advanced debug form.

Namespace

Drupal\cms_content_sync\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $bundle_info_service, EntityFieldManager $entity_field_manager) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entity_type_manager;
  $this->bundleInfoService = $bundle_info_service;
  $this->entityFieldManager = $entity_field_manager;
}