Search for validate

  1. Search 7.x for validate
  2. Search 9.5.x for validate
  3. Search 8.9.x for validate
  4. Search 10.3.x for validate
  5. Other projects
Title Object type File name Summary
FormOperations::validateDefaultWorkspace function core/modules/workspaces/src/FormOperations.php Validation handler which sets a validation error for all unsupported forms.
FormState::$must_validate property core/lib/Drupal/Core/Form/FormState.php
FormState::$validate_handlers property core/lib/Drupal/Core/Form/FormState.php
FormState::getValidateHandlers function core/lib/Drupal/Core/Form/FormState.php Gets the validate handlers.
FormState::setValidateHandlers function core/lib/Drupal/Core/Form/FormState.php Sets the validate handlers.
FormStateDecoratorBase::getValidateHandlers function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets the validate handlers.
FormStateDecoratorBase::setValidateHandlers function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the validate handlers.
FormStateDecoratorBaseTest::testGetValidateHandlers function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getValidateHandlers
FormStateDecoratorBaseTest::testSetValidateHandlers function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setValidateHandlers
FormStateInterface::getValidateHandlers function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the validate handlers.
FormStateInterface::setValidateHandlers function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the validate handlers.
FormStoragePageCacheTest::testValidateFormStorageOnCachedPage function core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php Build-id is regenerated when validating cached form.
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.
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::elementValidateLimitValidationErrors function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestMachineNameValidationForm::buildAjaxSnackConfigureFormValidate function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Validate callback that forces a form rebuild.
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.
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.
FormTestValidateNoToken::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Returns a unique string identifying the form.
FormTestValidateNoToken::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form submission handler.
FormTestValidateRequiredForm class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php Form constructor to test the #required property.
FormTestValidateRequiredForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php
FormTestValidateRequiredForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php Form constructor.
FormTestValidateRequiredForm::elementValidateRequired function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php
FormTestValidateRequiredForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php Returns a unique string identifying the form.
FormTestValidateRequiredForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php Form submission handler.
FormTestValidateRequiredNoTitleForm class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Form constructor to test the #required property without #title.
FormTestValidateRequiredNoTitleForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php
FormTestValidateRequiredNoTitleForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Form constructor.
FormTestValidateRequiredNoTitleForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Returns a unique string identifying the form.
FormTestValidateRequiredNoTitleForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Form submission handler.
FormTestVerticalTabsAccessForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php Form validation handler.

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