Search for getForm

  1. Search 7.x for getForm
  2. Search 9.5.x for getForm
  3. Search 8.9.x for getForm
  4. Search 11.x for getForm
  5. Other projects
Title Object type File name Summary
FormBuilder::getFormId function core/lib/Drupal/Core/Form/FormBuilder.php
FormBuilderInterface::getForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Gets a renderable form array.
FormBuilderInterface::getFormId function core/lib/Drupal/Core/Form/FormBuilderInterface.php Determines the ID of a form.
FormBuilderTest::testGetFormIdWithBaseForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a base form object.
FormBuilderTest::testGetFormIdWithClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a class name form ID.
FormBuilderTest::testGetFormIdWithInjectedClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with an injected class name form ID.
FormBuilderTest::testGetFormIdWithNonFormClass function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::getFormId
FormBuilderTest::testGetFormIdWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a form object.
FormBuilderTest::testGetFormIdWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a string based form ID.
FormBuilderTest::testGetFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a class name based form ID.
FormBuilderTest::testGetFormWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a form object.
FormBuilderTest::testGetFormWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a string based form ID.
FormController::getFormArgument function core/lib/Drupal/Core/Controller/FormController.php Extracts the form argument string from a request.
FormController::getFormId function core/modules/system/tests/modules/condition_test/src/FormController.php
FormController::getFormObject function core/lib/Drupal/Core/Controller/FormController.php Returns the object used to build the form.
FormDefaultHandlersTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormElementMaxlengthTest::getFormId function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php
FormInterface::getFormId function core/lib/Drupal/Core/Form/FormInterface.php Returns a unique string identifying the form.
FormState::getFormObject function core/lib/Drupal/Core/Form/FormState.php
FormStateDecoratorBase::getFormObject function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
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.
FormStoragePageCacheTest::getFormBuildId function core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php Return the build id of the current form.
FormSubmitterTest::getFormSubmitter function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php
FormTest::testGetFormsCsrfToken function core/modules/system/tests/src/Functional/Form/FormTest.php CSRF tokens for GET forms should not be added by default.
FormTestAlterForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php
FormTestArgumentsObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php
FormTestAutocompleteForm::getFormId function core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php
FormTestButtonClassForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php
FormTestCheckboxesRadiosForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxesRadiosForm.php
FormTestCheckboxesZeroForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxesZeroForm.php
FormTestCheckboxForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxForm.php
FormTestCheckboxTypeJugglingForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxTypeJugglingForm.php
FormTestClickedButtonForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php
FormTestColorForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestColorForm.php
FormTestControllerObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestControllerObject.php
FormTestDescriptionForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDescriptionForm.php
FormTestDetailsContainsRequiredTextfieldForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsContainsRequiredTextfieldForm.php
FormTestDetailsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php
FormTestDisabledElementsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php
FormTestEmailForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php
FormTestEmptySelectForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestEmptySelectForm.php
FormTestFileForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php
FormTestFormStateValuesCleanAdvancedForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php
FormTestFormStateValuesCleanForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php
FormTestGetForm class core/modules/system/tests/modules/form_test/src/Form/FormTestGetForm.php Form to test whether GET forms have a CSRF token.
FormTestGetForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestGetForm.php
FormTestGetForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGetForm.php
FormTestGetForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGetForm.php
FormTestGetForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGetForm.php

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