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
Callbacks::entityTestFormValidateCheck function core/modules/system/tests/modules/entity_test/src/Callbacks.php Validation handler for the entity_test entity form.
Callbacks::validateName function core/modules/system/tests/modules/form_test/src/Callbacks.php Form element validation handler for 'name' in form_test_validate_form().
ChainedFastBackend::invalidate function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Marks a cache item as invalid.
ChainedFastBackend::invalidateAll function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Marks all cache items as invalid.
ChainedFastBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Marks cache items as invalid.
ChainedFastBackend::invalidateTags function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Marks cache items with any of the specified tags as invalid.
CKEditor5::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Form validation handler.
CKEditor5::validatePair function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Validates a Text Editor + Text Format pair.
CKEditor5::validateSwitchingToCKEditor5 function core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Validate callback to inform the user of CKEditor 5 compatibility problems.
CKEditor5ElementConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraintValidator.php
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php
CKEditor5PluginDefinition::validateCKEditor5Aspects function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Validates the CKEditor 5 aspects of the CKEditor 5 plugin definition.
CKEditor5PluginDefinition::validateConfiguration function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Validates the given configuration array.
CKEditor5PluginDefinition::validateDrupalAspects function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Validates the Drupal aspects of the CKEditor 5 plugin definition.
CKEditor5ValidationTestTrait::validatePairToViolationsArray function core/modules/ckeditor5/tests/src/Kernel/CKEditor5ValidationTestTrait.php Decorator for CKEditor5::validatePair() that returns an assertable array.
ClassResolverConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ClassResolverConstraintValidator.php
CodeBlock::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Form validation handler.
Color::validateColor function core/lib/Drupal/Core/Render/Element/Color.php Form element validation handler for #type 'color'.
Color::validateHex function core/lib/Drupal/Component/Utility/Color.php Validates whether a hexadecimal color value is syntactically correct.
ColorTest::providerTestValidateHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Provides data for testValidateHex().
ColorTest::testValidateHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php @legacy-covers \Drupal\Component\Utility\Color::validateHex
Combine::validate function core/modules/views/src/Plugin/views/filter/Combine.php Validate that the plugin is correct and can be saved.
CommentAdminOverview::validateForm function core/modules/comment/src/Form/CommentAdminOverview.php Form validation handler.
CommentNameConstraintValidator::validate function core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php
CommentSelection::validateReferenceableEntities function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php Validates which existing entities can be referenced.
CommentSelection::validateReferenceableNewEntities function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php Validates which newly created entities can be referenced.
ComplexDataConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.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.

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