Search for getFormObject

  1. Search 7.x for getFormObject
  2. Search 9.5.x for getFormObject
  3. Search 8.9.x for getFormObject
  4. Search 10.3.x for getFormObject
  5. Other projects
Title Object type File name Summary
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.
LayoutBuilderDecorationTestHtmlEntityFormController::getFormObject function core/modules/layout_builder/tests/modules/layout_builder_decoration_test/src/Controller/LayoutBuilderDecorationTestHtmlEntityFormController.php Returns the object used to build the form.
LayoutBuilderHtmlEntityFormController::getFormObject function core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php Returns the object used to build the form.
SubformState::getFormObject function core/lib/Drupal/Core/Form/SubformState.php Returns the form object that is responsible for building this form.
ViewsForm::getFormObject function core/modules/views/src/Form/ViewsForm.php Returns the object used to build the step form.
WorkspacesHtmlEntityFormController::getFormObject function core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php Returns the object used to build the form.

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