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
OverwriteExistingPackagesValidator::validate function core/modules/package_manager/src/Validator/OverwriteExistingPackagesValidator.php Validates that new installed packages don't overwrite existing directories.
PackageManagerUninstallValidator::validate function core/modules/package_manager/src/PackageManagerUninstallValidator.php Determines the reasons a module can not be uninstalled.
Page::validate function core/modules/views/src/Plugin/views/display/Page.php Validate that the plugin is correct and can be saved.
Page::validateOptionsForm function core/modules/views/src/Plugin/views/display/Page.php Validate the options form.
PagerPluginBase::exposedFormValidate function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
PagerPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Provide the default form for validating options.
PasswordConfirm::validatePasswordConfirm function core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Validates a password_confirm element.
PathAlias::getCacheTagsToInvalidate function core/modules/path_alias/src/Entity/PathAlias.php Returns the cache tags that should be used to invalidate caches.
PathAliasConstraintValidator::validate function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php
PathElement::validateMatchedPath function core/lib/Drupal/Core/Render/Element/PathElement.php Form element validation handler for matched_path elements.
PathElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form validation handler.
PathPluginBase::validate function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validate that the plugin is correct and can be saved.
PathPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validate the options form.
PathPluginBase::validatePath function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validates the path of the display.
PathWidget::validateFormElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Form element validation handler for URL alias form element.
PendingUpdatesValidator::validate function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.
PhpBackend::invalidate function core/lib/Drupal/Core/Cache/PhpBackend.php Marks a cache item as invalid.
PhpBackend::invalidateAll function core/lib/Drupal/Core/Cache/PhpBackend.php Marks all cache items as invalid.
PhpBackend::invalidateByHash function core/lib/Drupal/Core/Cache/PhpBackend.php Invalidate one cache item.
PhpBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/PhpBackend.php Marks cache items as invalid.
PhpExtensionsValidator::validateOpenSsl function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Flags an error if the OpenSSL extension is not installed.
PhpExtensionsValidator::validateXdebug function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Flags a warning if Xdebug is enabled.
PhpTufValidator::validate function core/modules/package_manager/src/Validator/PhpTufValidator.php Reacts to a stage event by validating PHP-TUF configuration as needed.
PhpTufValidator::validateTuf function core/modules/package_manager/src/Validator/PhpTufValidator.php Flags messages if PHP-TUF is not installed and configured properly.
PluginBase::validate function core/modules/views/src/Plugin/views/PluginBase.php Validate that the plugin is correct and can be saved.
PluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/PluginBase.php Validate the options form.
PluginExistsConstraintValidator::validate function core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraintValidator.php
PluginFormBase::validateConfigurationForm function core/lib/Drupal/Core/Plugin/PluginFormBase.php Form validation handler.
PluginFormInterface::validateConfigurationForm function core/lib/Drupal/Core/Plugin/PluginFormInterface.php Form validation handler.
PrepareCallbackTestForm::validateForm function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Form validation handler.
PrimitiveTypeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidatorTest::provideTestValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::testValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @covers ::validate
ProjectRelease::validateReleaseData function core/modules/update/src/ProjectRelease.php Validates the project release data.
ProtectedUserFieldConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php
ProtectedUserFieldConstraintValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @covers ::validate
ProtectedUserFieldConstraintValidatorTest::validate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php Perform the validation.
QueryPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Validate the options form.
QueueSerializationTest::validateForm function core/tests/Drupal/KernelTests/Core/Queue/QueueSerializationTest.php Form validation handler.
Random::stringValidate function core/tests/Drupal/TestTools/Random.php Callback for random string validation.
RandomTest::_RandomStringValidate function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Callback for random string validation.
RangeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php
Recipe::validateConfigActions function core/lib/Drupal/Core/Recipe/Recipe.php Validates that the corresponding extension is enabled for a config action.
Recipe::validateDefaultValueDefinition function core/lib/Drupal/Core/Recipe/Recipe.php Validates the definition of an input's default value.
Recipe::validateExtensionIsAvailable function core/lib/Drupal/Core/Recipe/Recipe.php Validates that the value is an available module/theme (installed or not).
Recipe::validateRecipeExists function core/lib/Drupal/Core/Recipe/Recipe.php Validates that a recipe exists.
RecursiveContextualValidator::validate function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a value against a constraint or a list of constraints.
RecursiveContextualValidator::validateConstraints function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a node's value against all constraints in the given group.
RecursiveContextualValidator::validateNode function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a Typed Data node in the validation tree.
RecursiveContextualValidator::validateProperty function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php

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