public function PermissionsForm::__construct in Filter Permissions 8
Constructs a new PermissionsForm.
Parameters
\Drupal\user\PermissionHandlerInterface $permission_handler: The permission handler.
\Drupal\user\RoleStorageInterface $role_storage: The role storage.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface $key_value_expirable: The key value expirable factory.
Overrides UserPermissionsForm::__construct
File
- src/
Form/ PermissionsForm.php, line 42
Class
- PermissionsForm
- Provides an enhanced user permissions administration form.
Namespace
Drupal\filter_perms\FormCode
public function __construct(PermissionHandlerInterface $permission_handler, RoleStorageInterface $role_storage, ModuleHandlerInterface $module_handler, KeyValueStoreExpirableInterface $key_value_expirable) {
parent::__construct($permission_handler, $role_storage, $module_handler);
$this->keyValueExpirable = $key_value_expirable;
}