Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
FormValidator::__construct function core/lib/Drupal/Core/Form/FormValidator.php Constructs a new FormValidator.
FormValidatorInterface interface core/lib/Drupal/Core/Form/FormValidatorInterface.php Provides an interface for validating form submissions.
FormValidatorInterface.php file core/lib/Drupal/Core/Form/FormValidatorInterface.php
FormValidatorInterface::executeValidateHandlers function core/lib/Drupal/Core/Form/FormValidatorInterface.php Executes custom validation handlers for a given form.
FormValidatorInterface::setInvalidTokenError function core/lib/Drupal/Core/Form/FormValidatorInterface.php Sets a form_token error on the given form state.
FormValidatorInterface::validateForm function core/lib/Drupal/Core/Form/FormValidatorInterface.php Validates user-submitted form data in the $form_state.
FormValidatorTest class core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @coversDefaultClass \Drupal\Core\Form\FormValidator[[api-linebreak]]
@group Form
FormValidatorTest.php file core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::$csrfToken property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php The CSRF token generator to validate the form token.
FormValidatorTest::$formErrorHandler property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php The form error handler.
FormValidatorTest::$logger property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php A logger instance.
FormValidatorTest::providerTestHandleErrorsWithLimitedValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::providerTestPerformRequiredValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::providerTestRequiredErrorMessage function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::setUp function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::testElementValidate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::doValidateForm[[api-linebreak]]
FormValidatorTest::testExecuteValidateHandlers function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::executeValidateHandlers[[api-linebreak]]
FormValidatorTest::testHandleErrorsWithLimitedValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::handleErrorsWithLimitedValidation[[api-linebreak]]
FormValidatorTest::testMustValidate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'must_validate' $form_state flag.
FormValidatorTest::testPerformRequiredValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::performRequiredValidation[[api-linebreak]]
FormValidatorTest::testPreventDuplicateValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'must_validate' $form_state flag.
FormValidatorTest::testRequiredErrorMessage function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::doValidateForm[[api-linebreak]]
FormValidatorTest::testValidateInvalidFormToken function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::validateForm[[api-linebreak]]
FormValidatorTest::testValidateValidFormToken function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::validateForm[[api-linebreak]]
FormValidatorTest::testValidationComplete function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'validation_complete' $form_state flag.
FormValuesTest class core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Tests that form values are properly delivered to AJAX callbacks.
FormValuesTest.php file core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php
FormValuesTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php
FormValuesTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php
FormValuesTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php
FormValuesTest::testSimpleAjaxFormValue function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Submits forms with select and checkbox elements via Ajax.
form_ajax_response_builder service core/core.services.yml Drupal\Core\Form\FormAjaxResponseBuilder
form_ajax_subscriber service core/core.services.yml Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber
form_base_test.inc file core/tests/Drupal/Tests/Core/Form/fixtures/form_base_test.inc Functions in the global namespace for \Drupal\Tests\Core\Form\FormTestBase.
form_builder service core/core.services.yml Drupal\Core\Form\FormBuilder
form_cache service core/core.services.yml Drupal\Core\Form\FormCache
form_error_handler service core/core.services.yml Drupal\Core\Form\FormErrorHandler
form_get_options function core/includes/form.inc Returns the indexes of a select element's options matching a given key.
form_select_options function core/includes/form.inc Converts the options in a select element into a structured array for output.
form_submitter service core/core.services.yml Drupal\Core\Form\FormSubmitter
form_test.event_subscriber service core/modules/system/tests/modules/form_test/form_test.services.yml Drupal\form_test\EventSubscriber\FormTestEventSubscriber
form_test.form.serviceform service core/modules/system/tests/modules/form_test/form_test.services.yml Drupal\form_test\FormTestServiceObject
form_test.http_middleware service core/modules/system/tests/modules/form_test/form_test.services.yml Drupal\form_test\StackMiddleware\FormTestMiddleware
form_test.info.yml file core/modules/system/tests/modules/form_test/form_test.info.yml core/modules/system/tests/modules/form_test/form_test.info.yml
form_test.module file core/modules/system/tests/modules/form_test/form_test.module Helper module for the form API tests.
form_test.permissions.yml file core/modules/system/tests/modules/form_test/form_test.permissions.yml core/modules/system/tests/modules/form_test/form_test.permissions.yml
form_test.routing.yml file core/modules/system/tests/modules/form_test/form_test.routing.yml core/modules/system/tests/modules/form_test/form_test.routing.yml
form_test.schema.yml file core/modules/system/tests/modules/form_test/config/schema/form_test.schema.yml core/modules/system/tests/modules/form_test/config/schema/form_test.schema.yml
form_test.services.yml file core/modules/system/tests/modules/form_test/form_test.services.yml core/modules/system/tests/modules/form_test/form_test.services.yml
form_test_form_alter function core/modules/system/tests/modules/form_test/form_test.module Implements hook_form_alter().

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