Search for form

  1. Search 7.x for form
  2. Search 9.5.x for form
  3. Search 8.9.x for form
  4. Search 10.3.x for form
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Form class core/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.

All search results

Title Object type File name Summary
FormTestDetailsContainsRequiredTextfieldForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsContainsRequiredTextfieldForm.php
FormTestDetailsContainsRequiredTextfieldForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsContainsRequiredTextfieldForm.php Form constructor.
FormTestDetailsContainsRequiredTextfieldForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsContainsRequiredTextfieldForm.php Returns a unique string identifying the form.
FormTestDetailsContainsRequiredTextfieldForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsContainsRequiredTextfieldForm.php Form submission handler.
FormTestDetailsForm class core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Builds a simple form to test the #group property on #type 'container'.
FormTestDetailsForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php
FormTestDetailsForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Form constructor.
FormTestDetailsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Returns a unique string identifying the form.
FormTestDetailsForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Form submission handler.
FormTestDetailsForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Form validation handler.
FormTestDisabledElementsForm class core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Builds a form to test disabled elements.
FormTestDisabledElementsForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php
FormTestDisabledElementsForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Form constructor.
FormTestDisabledElementsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Returns a unique string identifying the form.
FormTestDisabledElementsForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Form submission handler.
FormTestEmailForm class core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Form constructor for testing #type 'email' elements.
FormTestEmailForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php
FormTestEmailForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Form constructor.
FormTestEmailForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Returns a unique string identifying the form.
FormTestEmailForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestEmailForm.php Form submission handler.
FormTestEmptySelectForm class core/modules/system/tests/modules/form_test/src/Form/FormTestEmptySelectForm.php Builds a form to test select elements when #options is not an array.
FormTestEmptySelectForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestEmptySelectForm.php
FormTestEmptySelectForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestEmptySelectForm.php Form constructor.
FormTestEmptySelectForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestEmptySelectForm.php Returns a unique string identifying the form.
FormTestEmptySelectForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestEmptySelectForm.php Form submission handler.
FormTestEventSubscriber class core/modules/system/tests/modules/form_test/src/EventSubscriber/FormTestEventSubscriber.php Test event subscriber to add new attributes to the request.
FormTestEventSubscriber.php file core/modules/system/tests/modules/form_test/src/EventSubscriber/FormTestEventSubscriber.php
FormTestEventSubscriber::getSubscribedEvents function core/modules/system/tests/modules/form_test/src/EventSubscriber/FormTestEventSubscriber.php
FormTestEventSubscriber::onKernelRequest function core/modules/system/tests/modules/form_test/src/EventSubscriber/FormTestEventSubscriber.php Adds custom attributes to the request object.
FormTestEventSubscriber::onKernelResponse function core/modules/system/tests/modules/form_test/src/EventSubscriber/FormTestEventSubscriber.php Adds custom headers to the response.
FormTestFileForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Form constructor for testing #type 'file' elements.
FormTestFileForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php
FormTestFileForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Form constructor.
FormTestFileForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Returns a unique string identifying the form.
FormTestFileForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFileForm.php Form submission handler.
FormTestFormStateValuesCleanAdvancedForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanAdvancedForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php
FormTestFormStateValuesCleanAdvancedForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form constructor.
FormTestFormStateValuesCleanAdvancedForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanAdvancedForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form submission handler.
FormTestFormStateValuesCleanForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php
FormTestFormStateValuesCleanForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form constructor.
FormTestFormStateValuesCleanForm::cleanValue function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Helper function to clean a value on an element.
FormTestFormStateValuesCleanForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form submission handler.
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.

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