Search for valid

  1. Search 7.x for valid
  2. Search 8.9.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Search main for valid
  6. Other projects
Title Object type File name Summary
FormStateInterface::isValidationEnforced function core/lib/Drupal/Core/Form/FormStateInterface.php Checks if validation is enforced.
FormStateInterface::setInvalidToken function core/lib/Drupal/Core/Form/FormStateInterface.php Flags the form state as having or not an invalid token.
FormStateInterface::setLimitValidationErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the limited validation error sections.
FormStateInterface::setValidateHandlers function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the validate handlers.
FormStateInterface::setValidationComplete function core/lib/Drupal/Core/Form/FormStateInterface.php Sets that validation has been completed.
FormStateInterface::setValidationEnforced function core/lib/Drupal/Core/Form/FormStateInterface.php Enforces that validation is run.
FormStateTest::testPrepareCallbackInValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback[[api-linebreak]]
FormStateTest::testPrepareCallbackValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback[[api-linebreak]]
FormStoragePageCacheTest::testValidateFormStorageOnCachedPage function core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php Build-id is regenerated when validating cached form.
FormTest::testColorValidation function core/modules/system/tests/src/Functional/Form/FormTest.php Tests validation of #type 'color' elements.
FormTest::testInputWithInvalidToken function core/modules/system/tests/src/Functional/Form/FormTest.php Tests that input is retained for safe elements even with an invalid token.
FormTest::validateSelectSorting function core/modules/system/tests/src/Functional/Form/FormTest.php Validates that the options are in the right order in a select.
FormTestArgumentsObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php
FormTestBase::$formValidator property core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormTestClickedButtonForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php
FormTestControllerObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestControllerObject.php
FormTestDetailsForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php
FormTestGroupVerticalTabsForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupVerticalTabsForm.php
FormTestLimitValidationErrorsForm class core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php Builds a simple form with a button triggering partial validation.
FormTestLimitValidationErrorsForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestLimitValidationErrorsForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestLimitValidationErrorsForm::elementValidateLimitValidationErrors function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestLimitValidationErrorsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestLimitValidationErrorsForm::partialSubmitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestLimitValidationErrorsForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestMachineNameValidationForm class core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Form to test whether machine name validation works with ajax requests.
FormTestMachineNameValidationForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
FormTestMachineNameValidationForm::buildAjaxSnackConfigureForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Handles changes to the selected snack configuration.
FormTestMachineNameValidationForm::buildAjaxSnackConfigureFormSubmit function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Submit callback that forces a form rebuild.
FormTestMachineNameValidationForm::buildAjaxSnackConfigureFormValidate function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Validate callback that forces a form rebuild.
FormTestMachineNameValidationForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
FormTestMachineNameValidationForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
FormTestMachineNameValidationForm::load function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Loading stub for machine name.
FormTestMachineNameValidationForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php
FormTestObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php
FormTestProgrammaticForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestProgrammaticForm.php
FormTestRangeInvalidForm class core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php Form constructor for testing invalid #type 'range' elements.
FormTestRangeInvalidForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php
FormTestRangeInvalidForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php
FormTestRangeInvalidForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php
FormTestRangeInvalidForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php
FormTestServiceObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php
FormTestStorageForm::elementValidateValueCached function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form element validation handler for 'value' element.
FormTestStorageForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php
FormTestStoragePageCacheForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php
FormTestValidateForm class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Form builder for testing \Drupal\Core\Form\FormValidatorInterface::validateForm().
FormTestValidateForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php
FormTestValidateForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php
FormTestValidateForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php
FormTestValidateForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php

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