public function NodeTypeForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/NodeTypeForm.php \Drupal\node\NodeTypeForm::__construct()
Constructs the NodeTypeForm object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/
modules/ node/ src/ NodeTypeForm.php, line 35 - Contains \Drupal\node\NodeTypeForm.
Class
- NodeTypeForm
- Form controller for node type forms.
Namespace
Drupal\nodeCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}