Search for getFormObject

  1. Search 7.x for getFormObject
  2. Search 9.5.x for getFormObject
  3. Search 10.3.x for getFormObject
  4. Search 11.x for getFormObject
  5. Other projects
Title Object type File name Summary
EntityManager::getFormObject function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManagerTest::testGetFormObject function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::getFormObject
EntityTypeManager::getFormObject function core/lib/Drupal/Core/Entity/EntityTypeManager.php Creates a new form instance.
EntityTypeManagerInterface::getFormObject function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Creates a new form instance.
EntityTypeManagerTest::testGetFormObject function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getFormObject() method.
EntityTypeManagerTest::testGetFormObjectInvalidOperation function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getFormObject() method with an invalid operation.
FormController::getFormObject function core/lib/Drupal/Core/Controller/FormController.php Returns the object used to build the form.
FormState::getFormObject function core/lib/Drupal/Core/Form/FormState.php Returns the form object that is responsible for building this form.
FormStateDecoratorBase::getFormObject function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns the form object that is responsible for building this form.
FormStateDecoratorBaseTest::testGetFormObject function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getFormObject
FormStateInterface::getFormObject function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the form object that is responsible for building this form.
HtmlEntityFormController::getFormObject function core/lib/Drupal/Core/Entity/HtmlEntityFormController.php Instead of a class name or service ID, $form_arg will be a string
representing the entity and operation being performed.
Consider the following route:
HtmlFormController::getFormObject function core/lib/Drupal/Core/Controller/HtmlFormController.php Returns the object used to build the form.
ViewsForm::getFormObject function core/modules/views/src/Form/ViewsForm.php Returns the object used to build the step form.

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