You are here

public function ContentAccessAdminSettingsForm::__construct in Content Access 8

Constructs a new ContentAccessAdminSettingsForm.

Parameters

\Drupal\user\PermissionHandlerInterface $permission_handler: The permission handler.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

File

src/Form/ContentAccessAdminSettingsForm.php, line 41

Class

ContentAccessAdminSettingsForm
Node Access settings form.

Namespace

Drupal\content_access\Form

Code

public function __construct(PermissionHandlerInterface $permission_handler, ModuleHandlerInterface $module_handler) {
  $this->permissionHandler = $permission_handler;
  $this->moduleHandler = $module_handler;
}