function EntityForm::setEntityTypeManager
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::setEntityTypeManager()
- 10 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::setEntityTypeManager()
- 11.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::setEntityTypeManager()
Overrides EntityFormInterface::setEntityTypeManager
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityForm.php, line 415
Class
- EntityForm
- Base class for entity forms.
Namespace
Drupal\Core\EntityCode
public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.