You are here

public function PagererPresetDeleteForm::__construct in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Form/PagererPresetDeleteForm.php \Drupal\pagerer\Form\PagererPresetDeleteForm::__construct()

Constructs a PagererPresetDeleteForm form.

Parameters

\Drupal\Core\Render\ElementInfoManagerInterface $element_info_manager: The element info manager.

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

File

src/Form/PagererPresetDeleteForm.php, line 38

Class

PagererPresetDeleteForm
Delete a Pagerer preset.

Namespace

Drupal\pagerer\Form

Code

public function __construct(ElementInfoManagerInterface $element_info_manager, MessengerInterface $messenger) {
  $this->elementInfoManager = $element_info_manager;
  $this->messenger = $messenger;
}