public function PagererConfigForm::__construct in Pagerer 8
Same name and namespace in other branches
- 8.2 src/Form/PagererConfigForm.php \Drupal\pagerer\Form\PagererConfigForm::__construct()
Constructs a PagererConfigForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Entity\EntityListBuilderInterface $presets_list: The list of Pagerer presets.
\Drupal\pagerer\PagererFactory $pagerer_factory: The Pagerer factory.
\Drupal\Core\Render\ElementInfoManagerInterface $element_info_manager: The element info manager.
Overrides ConfigFormBase::__construct
File
- src/
Form/ PagererConfigForm.php, line 51
Class
- PagererConfigForm
- Main Pagerer settings admin form.
Namespace
Drupal\pagerer\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityListBuilderInterface $presets_list, PagererFactory $pagerer_factory, ElementInfoManagerInterface $element_info_manager) {
parent::__construct($config_factory);
$this->presetsList = $presets_list;
$this->pagererFactory = $pagerer_factory;
$this->elementInfoManager = $element_info_manager;
}