You are here

public function FieldGroupDeleteForm::__construct in Field Group 8.3

FieldGroupDeleteForm constructor.

Parameters

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

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.

File

src/Form/FieldGroupDeleteForm.php, line 46

Class

FieldGroupDeleteForm
Provides a form for removing a fieldgroup from a bundle.

Namespace

Drupal\field_group\Form

Code

public function __construct(MessengerInterface $messenger, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  $this->messenger = $messenger;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}