public function SearchByPageAdminForm::__construct in Search by Page 8
Class constructor.
Parameters
ConfigFactoryInterface $config_factory: The config factory.
AccountProxyInterface $current_user: The current user.
MessengerInterface $messenger: The core messenger service.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SearchByPageAdminForm.php, line 48 - Contains \Drupal\search_by_page\src\Form\SearchByPageAdminForm.
Class
- SearchByPageAdminForm
- Class SearchByPageAdminForm.
Namespace
Drupal\search_by_page\FormCode
public function __construct(ConfigFactoryInterface $config_factory, AccountProxyInterface $current_user, MessengerInterface $messenger) {
parent::__construct($config_factory);
$this->currentUser = $current_user;
$this->messenger = $messenger;
}