function NodeRequirements::__construct

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

File

core/modules/node/src/Hook/NodeRequirements.php, line 25

Class

NodeRequirements
Requirements for the Node module.

Namespace

Drupal\node\Hook

Code

public function __construct(protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly ModuleHandlerInterface $moduleHandler, protected readonly TranslationInterface $translation, protected readonly ModuleExtensionList $moduleExtensionList) {
}

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