function 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\Form

Code

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.