public function EntityManagerWrapper::getFormObject in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getFormObject()
- 8.2 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getFormObject()
- 4.x webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::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.
Overrides EntityTypeManagerInterface::getFormObject
File
- webprofiler/
src/ Entity/ EntityManagerWrapper.php, line 170
Class
- EntityManagerWrapper
- Class EntityManagerWrapper
Namespace
Drupal\webprofiler\EntityCode
public function getFormObject($entity_type, $operation) {
return $this->entityManager
->getFormObject($entity_type, $operation);
}