function EntityTypeManagerInterface::getFormObject
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php \Drupal\Core\Entity\EntityTypeManagerInterface::getFormObject()
- 10 core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php \Drupal\Core\Entity\EntityTypeManagerInterface::getFormObject()
- 11.x core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php \Drupal\Core\Entity\EntityTypeManagerInterface::getFormObject()
Creates a new form instance.
Parameters
string $entity_type_id: The entity type ID for this form.
string $operation: The name of the operation to use, e.g., 'default'.
Return value
\Drupal\Core\Entity\EntityFormInterface A form instance.
1 method overrides EntityTypeManagerInterface::getFormObject()
- EntityTypeManager::getFormObject in core/
lib/ Drupal/ Core/ Entity/ EntityTypeManager.php - Creates a new form instance.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeManagerInterface.php, line 73
Class
- EntityTypeManagerInterface
- Provides an interface for entity type managers.
Namespace
Drupal\Core\EntityCode
public function getFormObject($entity_type_id, $operation);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.