function NodeTypeForm::__construct

Same name and namespace in other branches
  1. 9 core/modules/node/src/NodeTypeForm.php \Drupal\node\NodeTypeForm::__construct()
  2. 8.9.x core/modules/node/src/NodeTypeForm.php \Drupal\node\NodeTypeForm::__construct()
  3. 10 core/modules/node/src/NodeTypeForm.php \Drupal\node\NodeTypeForm::__construct()

Constructs the NodeTypeForm object.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

File

core/modules/node/src/NodeTypeForm.php, line 32

Class

NodeTypeForm
Form handler for node type forms.

Namespace

Drupal\node

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager) {
    $this->entityFieldManager = $entity_field_manager;
}

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