public EntityForm::setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager)
Sets the entity type manager for this form.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
Return value
$this
Overrides EntityFormInterface::setEntityTypeManager
File
- core/lib/Drupal/Core/Entity/EntityForm.php, line 426
Class
- EntityForm
- Base class for entity forms.
Namespace
Drupal\Core\Entity
Code
public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager) { $this->entityTypeManager = $entity_type_manager; return $this; }
Please login to continue.