function RoleSettingsForm::__construct

Same name in other branches
  1. 9 core/modules/user/src/Form/RoleSettingsForm.php \Drupal\user\Form\RoleSettingsForm::__construct()
  2. 10 core/modules/user/src/Form/RoleSettingsForm.php \Drupal\user\Form\RoleSettingsForm::__construct()

Constructs a \Drupal\user\Form\RoleSettingsForm object.

Parameters

\Drupal\user\RoleStorageInterface $role_storage: The role storage.

File

core/modules/user/src/Form/RoleSettingsForm.php, line 29

Class

RoleSettingsForm
Configure administrator role settings for this site.

Namespace

Drupal\user\Form

Code

public function __construct(RoleStorageInterface $role_storage) {
    $this->roleStorage = $role_storage;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.