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. 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
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.
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.

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