function NodePermissions::__construct

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

File

core/modules/node/src/NodePermissions.php, line 21

Class

NodePermissions
Provides dynamic permissions for nodes of different types.

Namespace

Drupal\node

Code

public function __construct(protected EntityTypeManagerInterface $entityTypeManager) {
}

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