public function PagererPresetFormBase::__construct in Pagerer 8
Same name and namespace in other branches
- 8.2 src/Form/PagererPresetFormBase.php \Drupal\pagerer\Form\PagererPresetFormBase::__construct()
Constructs a base class for pagerer preset add and edit forms.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $pagerer_preset_storage: The Pagerer preset entity storage.
\Drupal\pagerer\PagererFactory $pagerer_factory: The Pagerer factory.
\Drupal\pagerer\Plugin\PagererStyleManager $style_manager: The plugin manager for Pagerer style plugins.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
File
- src/
Form/ PagererPresetFormBase.php, line 58
Class
- PagererPresetFormBase
- Base form handler for image style add and edit forms.
Namespace
Drupal\pagerer\FormCode
public function __construct(EntityStorageInterface $pagerer_preset_storage, PagererFactory $pagerer_factory, PagererStyleManager $style_manager, MessengerInterface $messenger) {
$this->pagererPresetStorage = $pagerer_preset_storage;
$this->pagererFactory = $pagerer_factory;
$this->styleManager = $style_manager;
$this->messenger = $messenger;
}