Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Other projects
Title Object type File name Summary
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
FormStateTest::testPrepareCallbackValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback
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 Form validation handler.
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 Form validation handler.
FormTestControllerObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestControllerObject.php Form validation handler.
FormTestDetailsForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Form validation handler.
FormTestGroupVerticalTabsForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupVerticalTabsForm.php Form validation handler.
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 Form constructor.
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 Returns a unique string identifying the form.
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 Form submission handler.
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 Form constructor.
FormTestMachineNameValidationForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Returns a unique string identifying the form.
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 Form submission handler.
FormTestObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php Form validation handler.
FormTestProgrammaticForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestProgrammaticForm.php Form validation handler.
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 Form constructor.
FormTestRangeInvalidForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php Returns a unique string identifying the form.
FormTestRangeInvalidForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php Form submission handler.
FormTestRecipeInputForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRecipeInputForm.php Form validation handler.
FormTestServiceObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Form validation handler.
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 Form validation handler.
FormTestStoragePageCacheForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form validation handler.
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 Form constructor.
FormTestValidateForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Returns a unique string identifying the form.
FormTestValidateForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Form submission handler.
FormTestValidateForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Form validation handler.
FormTestValidateNoToken class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form to test the validation of forms with a disabled CSRF token.
FormTestValidateNoToken.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php
FormTestValidateNoToken::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form constructor.

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