function SystemBrandingOffCanvasForm::__construct
Same name in other branches
- 8.9.x core/modules/system/src/Form/SystemBrandingOffCanvasForm.php \Drupal\system\Form\SystemBrandingOffCanvasForm::__construct()
- 10 core/modules/system/src/Form/SystemBrandingOffCanvasForm.php \Drupal\system\Form\SystemBrandingOffCanvasForm::__construct()
- 11.x core/modules/system/src/Form/SystemBrandingOffCanvasForm.php \Drupal\system\Form\SystemBrandingOffCanvasForm::__construct()
SystemBrandingOffCanvasForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
File
-
core/
modules/ system/ src/ Form/ SystemBrandingOffCanvasForm.php, line 52
Class
- SystemBrandingOffCanvasForm
- The settings_tray form handler for the SystemBrandingBlock.
Namespace
Drupal\system\FormCode
public function __construct(ConfigFactoryInterface $config_factory, AccountInterface $current_user) {
$this->configFactory = $config_factory;
$this->currentUser = $current_user;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.