Search for getForm

  1. Search 7.x for getForm
  2. Search 8.9.x for getForm
  3. Search 10.3.x for getForm
  4. Search 11.x for getForm
  5. Other projects
Title Object type File name Summary
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 Returns a unique string identifying the form.
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 Returns a unique string identifying the form.
FormElementMaxlengthTest::getFormId function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Returns a unique string identifying the form.
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 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.
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 Returns a unique string identifying the form.
FormTestArgumentsObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php Returns a unique string identifying the form.
FormTestAutocompleteForm::getFormId function core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php Returns a unique string identifying the form.
FormTestButtonClassForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php Returns a unique string identifying the form.
FormTestCheckboxesRadiosForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxesRadiosForm.php Returns a unique string identifying the form.
FormTestCheckboxesZeroForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxesZeroForm.php Returns a unique string identifying the form.
FormTestCheckboxForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxForm.php Returns a unique string identifying the form.
FormTestCheckboxTypeJugglingForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestCheckboxTypeJugglingForm.php Returns a unique string identifying the form.
FormTestClickedButtonForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php Returns a unique string identifying the form.
FormTestColorForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestColorForm.php Returns a unique string identifying the form.
FormTestControllerObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestControllerObject.php Returns a unique string identifying the form.
FormTestDescriptionForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDescriptionForm.php Returns a unique string identifying the form.
FormTestDetailsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Returns a unique string identifying the form.
FormTestDisabledElementsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Returns a unique string identifying the form.
FormTestEmailForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Returns a unique string identifying the form.
FormTestEmptySelectForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestEmptySelectForm.php Returns a unique string identifying the form.
FormTestFileForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanAdvancedForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Returns a unique string identifying the form.
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 Form constructor.
FormTestGetForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGetForm.php Returns a unique string identifying the form.
FormTestGetForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGetForm.php Form submission handler.
FormTestGroupContainerForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php Returns a unique string identifying the form.
FormTestGroupDetailsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupDetailsForm.php Returns a unique string identifying the form.
FormTestGroupFieldsetForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php Returns a unique string identifying the form.
FormTestGroupVerticalTabsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupVerticalTabsForm.php Returns a unique string identifying the form.
FormTestInputForgeryForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestInputForgeryForm.php Returns a unique string identifying the form.
FormTestLabelForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestLabelForm.php Returns a unique string identifying the form.
FormTestLanguageSelectForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestLanguageSelectForm.php Returns a unique string identifying the form.

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