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
AccessPolicyProcessor::validateScope function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Validates if calculated permissions all match a single scope.
AllowedScaffoldPackagesValidator::validate function core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php Validates that only the implicitly allowed packages can use scaffolding.
AltTextContainsLlamasConstraintValidator::validate function core/modules/image/tests/modules/image_field_property_constraint_validation/src/Plugin/Validation/Constraint/AltTextContainsLlamasConstraintValidator.php
AnnounceFetcher::validateUrl function core/modules/announcements_feed/src/AnnounceFetcher.php Check whether a link is controlled by D.O.
AnnounceFetcherUnitTest::testValidateUrl function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Test the ValidateUrl() method.
AtLeastOneOfConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraintValidator.php Validate a set of constraints against a value.
BaseFieldOverrideValidationTest::testFieldTypePluginIsValidated function core/tests/Drupal/KernelTests/Core/Entity/BaseFieldOverrideValidationTest.php Tests that the field type plugin's existence is validated.
BaseRequirementsFulfilledValidator::validate function core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php Validates that base requirements are fulfilled.
BaseRequirementsFulfilledValidatorTest::validate function core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php Validates base requirements.
BaseRequirementValidatorTrait::validate function core/modules/package_manager/src/Validator/BaseRequirementValidatorTrait.php Validates base requirements.
CacheBackendDecorator::invalidate function core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php Marks a cache item as invalid.
CacheBackendDecorator::invalidateAll function core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php Marks all cache items as invalid.
CacheBackendDecorator::invalidateMultiple function core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php Marks cache items as invalid.
CacheBackendDecorator::invalidateTags function core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php Marks cache items with any of the specified tags as invalid.
CacheTagsChecksumDecorator::invalidateTags function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php Marks cache items with any of the specified tags as invalid.
Callbacks::entityTestFormValidate function core/modules/system/tests/modules/entity_test/src/Callbacks.php Validation handler for the entity_test entity form.
Callbacks::entityTestFormValidateCheck function core/modules/system/tests/modules/entity_test/src/Callbacks.php Validation handler for the entity_test entity form.
ClassResolverConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ClassResolverConstraintValidator.php
CodeBlock::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php
ComponentInFormTest::validateForm function core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Form validation handler.
ComponentNodeVisitor::validateSlots function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Performs a cheap validation of the slots in the template.
ComponentsTwigExtension::doValidateProps function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Performs the actual validation of the schema for the props.
ComponentsTwigExtension::validateProps function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Validates the props in development environments.
ComponentValidator::validateClassProps function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates the props that are not JSON Schema.
ComponentValidator::validateDefinition function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates the component metadata file.
ComponentValidator::validateProps function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates that the props provided to the component.
ComponentValidatorTest::dataProviderValidateDefinitionInvalid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Data provider with invalid component definitions.
ComponentValidatorTest::dataProviderValidateDefinitionValid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Data provider with valid component definitions.
ComponentValidatorTest::dataProviderValidatePropsInvalid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Data provider with invalid component props.
ComponentValidatorTest::dataProviderValidatePropsValid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Data provider with valid component props.
ComponentValidatorTest::testValidateDefinitionInvalid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests invalid component definitions.
ComponentValidatorTest::testValidateDefinitionValid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests that valid component definitions don't cause errors.
ComponentValidatorTest::testValidatePropsInvalid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests that invalid props are handled properly.
ComponentValidatorTest::testValidatePropsValid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests that valid props are handled properly.
ComposerInspector::invalidateCacheIfNeeded function core/modules/package_manager/src/ComposerInspector.php Invalidates cached data if composer.json or composer.lock have changed.
ComposerInspector::validate function core/modules/package_manager/src/ComposerInspector.php Checks that Composer commands can be run.
ComposerInspector::validateExecutable function core/modules/package_manager/src/ComposerInspector.php Validates that the Composer executable exists in a supported version.
ComposerInspector::validateProject function core/modules/package_manager/src/ComposerInspector.php Checks that `composer.json` is valid and `composer.lock` exists.
ComposerInspectorTest::testComposerValidateIsCalled function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php @covers ::validate[[api-linebreak]]
ComposerMinimumStabilityValidator::validate function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php Validates composer minimum stability.
ComposerPatchesValidator::validate function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Validates the status of the patcher plugin.
ComposerPluginsValidator::validate function core/modules/package_manager/src/Validator/ComposerPluginsValidator.php Validates the allowed Composer plugins, both in active and stage.
ComposerValidator::validate function core/modules/package_manager/src/Validator/ComposerValidator.php Validates that the Composer executable is the correct version.
ConfigActionValidationTest::testConfigActionDependenciesAreValidated function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php Tests validating that config actions' dependencies are present.
ConfigActionValidationTest::testConfigActionsAreValidated function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php @testWith ["block_content_type"][[api-linebreak]]
["node_type"][[api-linebreak]]
["shortcut_set"][[api-linebreak]]
["menu"][[api-linebreak]]
[[api-linebreak]]
ConfigExistsConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php
ConfigValidationTest::testValidatableConfigIsValidated function core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php Tests that the recipe runner only validates config which is validatable.
DateFormatValidationTest::testPatternIsValidated function core/tests/Drupal/KernelTests/Core/Entity/DateFormatValidationTest.php Tests that the pattern of a date format is validated.
DatetimeFormElementTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Form validation handler.
DiskSpaceValidator::validate function core/modules/package_manager/src/Validator/DiskSpaceValidator.php Validates that there is enough free disk space to do stage operations.

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