public function PhotosAdminSettingsForm::__construct in Album Photos 8.5
Same name and namespace in other branches
- 8.4 src/Form/PhotosAdminSettingsForm.php \Drupal\photos\Form\PhotosAdminSettingsForm::__construct()
- 6.0.x src/Form/PhotosAdminSettingsForm.php \Drupal\photos\Form\PhotosAdminSettingsForm::__construct()
Constructs PhotosAdminSettingsForm.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Overrides ConfigFormBase::__construct
File
- src/
Form/ PhotosAdminSettingsForm.php, line 73
Class
- PhotosAdminSettingsForm
- Defines a form to configure maintenance settings for this site.
Namespace
Drupal\photos\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityDisplayRepositoryInterface $entity_display_repository, EntityFieldManagerInterface $entity_field_manager, MessengerInterface $messenger, ModuleHandlerInterface $module_handler) {
parent::__construct($config_factory);
$this->entityDisplayRepository = $entity_display_repository;
$this->entityFieldManager = $entity_field_manager;
$this->messenger = $messenger;
$this->moduleHandler = $module_handler;
}