function EntityFormInterface::setEntityTypeManager

Sets the entity type manager for this form.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

Return value

$this

1 method overrides EntityFormInterface::setEntityTypeManager()
EntityForm::setEntityTypeManager in core/lib/Drupal/Core/Entity/EntityForm.php

File

core/lib/Drupal/Core/Entity/EntityFormInterface.php, line 136

Class

EntityFormInterface
Defines an interface for entity form classes.

Namespace

Drupal\Core\Entity

Code

public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager);

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