Search for validate

  1. Search 7.x for validate
  2. Search 9.5.x for validate
  3. Search 10.3.x for validate
  4. Search 11.x for validate
  5. Other projects
Title Object type File name Summary
ValidateTest::testInsecureExtensions function core/modules/file/tests/src/Kernel/ValidateTest.php Tests hard-coded security check in file_validate().
ValidationErrorBlock::validateConfigurationForm function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php
ValidationTest::testValidate function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests #element_validate and #validate.
ValidationTest::testValidateLimitErrors function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests partial form validation through #limit_validation_errors.
ValidatorTest::testFileValidateExtensions function core/modules/file/tests/src/Kernel/ValidatorTest.php Test the file_validate_extensions() function.
ValidatorTest::testFileValidateImageResolution function core/modules/file/tests/src/Kernel/ValidatorTest.php This ensures the resolution of a specific file is within bounds.
ValidatorTest::testFileValidateIsImage function core/modules/file/tests/src/Kernel/ValidatorTest.php This ensures a specific file is actually an image.
ValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/ValidatorTest.php This will ensure the filename length is valid.
ValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/ValidatorTest.php Test file_validate_size().
ValidPathConstraintValidator::validate function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php
ValidReferenceConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php
VariantBase::validateConfigurationForm function core/lib/Drupal/Core/Display/VariantBase.php Form validation handler.
View::invalidateCaches function core/modules/views/src/Entity/View.php Invalidates cache tags.
ViewAddForm::validateForm function core/modules/views_ui/src/ViewAddForm.php Form validation handler.
ViewEditForm::validateForm function core/modules/views_ui/src/ViewEditForm.php Form validation handler.
ViewExecutable::validate function core/modules/views/src/ViewExecutable.php Makes sure the view is completely valid.
ViewExecutableTest::testValidate function core/modules/views/tests/src/Kernel/ViewExecutableTest.php Tests the validation of display handlers.
ViewExecutableTest::testValidateNestedLoops function core/modules/views/tests/src/Kernel/ViewExecutableTest.php Tests that nested loops of the display handlers won't break validation.
Views argument validate plugins group core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Plugins for validating views contextual filters.
views.view.test_view_argument_validate_numeric.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_numeric.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_argument_validate_numeric.yml
views.view.test_view_argument_validate_user.yml file core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_user.yml core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_user.yml
views.view.test_view_argument_validate_username.yml file core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_username.yml core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_username.yml
ViewsBlock::blockValidate function core/modules/views/src/Plugin/Block/ViewsBlock.php
ViewsExposedForm::validateForm function core/modules/views/src/Form/ViewsExposedForm.php Form validation handler.
ViewsForm::validateForm function core/modules/views/src/Form/ViewsForm.php Form validation handler.
ViewsFormBase::validateForm function core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php Form validation handler.
ViewsFormMainForm::validateForm function core/modules/views/src/Form/ViewsFormMainForm.php Form validation handler.
ViewsPluginInterface::validate function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Validate that the plugin is correct and can be saved.
ViewsPluginInterface::validateOptionsForm function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Validate the options form.
ViewsSelection::settingsFormValidate function core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php Element validate; Check View is valid.
ViewsSelection::validateReferenceableEntities function core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php Validates which existing entities can be referenced.
ViewsTestDataErrorForm::validateForm function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php Form validation handler.
views_element_validate_tags function core/modules/views/views.module Validation callback for query tags.
views_invalidate_cache function core/modules/views/views.module Invalidate the views cache, forcing a rebuild on the next grab of table data.
views_test_data_views_invalidate_cache function core/modules/views/tests/modules/views_test_data/views_test_data.views.inc Implements hook_views_invalidate_cache().
ViewUI::getCacheTagsToInvalidate function core/modules/views_ui/src/ViewUI.php Returns the cache tags that should be used to invalidate caches.
WizardInterface::validateView function core/modules/views/src/Plugin/views/wizard/WizardInterface.php Validate form and values.
WizardPluginBase::$validated_views property core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php An array of validated view objects, keyed by a hash.
WizardPluginBase::retrieveValidatedView function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Retrieves a validated view for a form submission.
WizardPluginBase::setValidatedView function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Stores a validated view from a form submission.
WizardPluginBase::validateView function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Implements Drupal\views\Plugin\views\wizard\WizardInterface::validate().
WorkflowEditForm::validateForm function core/modules/workflows/src/Form/WorkflowEditForm.php Form validation handler.
WorkflowStateAddForm::validateForm function core/modules/workflows/src/Form/WorkflowStateAddForm.php Form validation handler.
WorkflowStateEditForm::validateForm function core/modules/workflows/src/Form/WorkflowStateEditForm.php Form validation handler.
WorkflowTransitionAddForm::validateForm function core/modules/workflows/src/Form/WorkflowTransitionAddForm.php Form validation handler.
WorkflowTransitionEditForm::validateForm function core/modules/workflows/src/Form/WorkflowTransitionEditForm.php Form validation handler.
WorkflowTypeConfigureFormBase::validateConfigurationForm function core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php Form validation handler.
WorkflowTypeStateFormBase::validateConfigurationForm function core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php Form validation handler.
WorkflowTypeTransitionFormBase::validateConfigurationForm function core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php Form validation handler.
YamlFileLoader::validate function core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php Validates a YAML file.

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