You are here

public function PoolForm::__construct in CMS Content Sync 2.1.x

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

Constructs an PoolForm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entityTypeManager

\Drupal\Core\Extension\ModuleHandler $moduleHandler: The moduleHandler

File

src/Form/PoolForm.php, line 60

Class

PoolForm
Form handler for the Pool add and edit forms.

Namespace

Drupal\cms_content_sync\Form

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, ModuleHandler $moduleHandler) {
  $this->entityTypeManager = $entityTypeManager;
  $this->moduleHandler = $moduleHandler;
}