public function ConditionalFieldForm::__construct in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/Form/ConditionalFieldForm.php \Drupal\conditional_fields\Form\ConditionalFieldForm::__construct()
Class constructor.
Parameters
\Drupal\conditional_fields\Conditions $list: Conditions list provider.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: Provides an interface for an entity field manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Provides an interface for entity type managers.
\Drupal\Component\Uuid\UuidInterface $uuid: Uuid generator.
File
- src/
Form/ ConditionalFieldForm.php, line 88
Class
- ConditionalFieldForm
- Class ConditionalFieldForm.
Namespace
Drupal\conditional_fields\FormCode
public function __construct(Conditions $list, EntityFieldManagerInterface $entity_field_manager, EntityTypeManagerInterface $entity_type_manager, UuidInterface $uuid) {
$this->entityFieldManager = $entity_field_manager;
$this->entityTypeManager = $entity_type_manager;
$this->list = $list;
$this->uuidGenerator = $uuid;
}