function NodeAccessRebuild::__construct

Same name and namespace in other branches
  1. 11.x core/modules/node/src/NodeAccessRebuild.php \Drupal\node\NodeAccessRebuild::__construct()

File

core/modules/node/src/NodeAccessRebuild.php, line 24

Class

NodeAccessRebuild
Provides methods for checking and rebuilding node access permissions.

Namespace

Drupal\node

Code

public function __construct(protected readonly StateInterface $state, protected readonly ModuleHandlerInterface $moduleHandler, protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly NodeGrantDatabaseStorageInterface $grantStorage, protected readonly MessengerInterface $messenger) {
}

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