You are here

public function FieldInheritanceDeleteForm::__construct in Field Inheritance 8

Same name and namespace in other branches
  1. 2.0.x src/Form/FieldInheritanceDeleteForm.php \Drupal\field_inheritance\Form\FieldInheritanceDeleteForm::__construct()

Construct an EventSeriesDeleteForm.

Parameters

\Drupal\Core\Messenger\Messenger $messenger: The messenger service.

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

File

src/Form/FieldInheritanceDeleteForm.php, line 39

Class

FieldInheritanceDeleteForm
Builds the form to delete Field inheritance entities.

Namespace

Drupal\field_inheritance\Form

Code

public function __construct(Messenger $messenger, EntityFieldManager $entity_field_manager) {
  $this->messenger = $messenger;
  $this->entityFieldManager = $entity_field_manager;
}