public function PoolForm::__construct in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 8 src/Form/PoolForm.php \Drupal\cms_content_sync\Form\PoolForm::__construct()
- 2.1.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\FormCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, ModuleHandler $moduleHandler) {
$this->entityTypeManager = $entityTypeManager;
$this->moduleHandler = $moduleHandler;
}