You are here

public function ContentAccessPageForm::__construct in Content Access 8

ContentAccessPageForm constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

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

\Drupal\node\NodeGrantDatabaseStorageInterface $grant_storage: The node grant storage.

File

src/Form/ContentAccessPageForm.php, line 56

Class

ContentAccessPageForm
Node Access settings form.

Namespace

Drupal\content_access\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, NodeGrantDatabaseStorageInterface $grant_storage) {
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
  $this->grantStorage = $grant_storage;
}