public function RoleDelegationSettingsForm::__construct in Role Delegation 8
The roles page setting form.
Parameters
\Drupal\role_delegation\DelegatableRolesInterface $delegatable_roles: The role delegation service.
\Drupal\Core\Session\AccountInterface $current_user: The current user viewing the form.
File
- src/
Form/ RoleDelegationSettingsForm.php, line 38
Class
- RoleDelegationSettingsForm
- Configure book settings for this site.
Namespace
Drupal\role_delegation\FormCode
public function __construct(DelegatableRolesInterface $delegatable_roles, AccountInterface $current_user) {
$this->delegatableRoles = $delegatable_roles;
$this->currentUser = $current_user;
}