Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
ComponentsTwigExtension::validateProps function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Validates the props in development environments.
ComponentValidator class core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates a component based on its definition and the component schema.
ComponentValidator.php file core/lib/Drupal/Core/Theme/Component/ComponentValidator.php
ComponentValidator::$validator property core/lib/Drupal/Core/Theme/Component/ComponentValidator.php The schema validator.
ComponentValidator::getClassProps function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Gets the props that are not JSON based.
ComponentValidator::nullifyClassPropsSchema function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Utility method to ensure the schema for class props is set to 'null'.
ComponentValidator::setValidator function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Sets the validator service if available.
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 class core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Unit tests for the component validation.
ComponentValidatorTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php
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::loadComponentDefinitionFromFs function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Loads a component definition from the component name.
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.
ComposerValidateTest class core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php @group Composer
ComposerValidateTest.php file core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php
ComposerValidateTest::provideComposerJson function core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php
ComposerValidateTest::testValidateComposer function core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php @dataProvider provideComposerJson
ConditionPluginBase::validateConfigurationForm function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Form validation handler.
ConfigActionValidationTest class core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php @group Recipe
ConfigActionValidationTest.php file core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php
ConfigActionValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php Modules to install.
ConfigActionValidationTest::$strictConfigSchema property core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php This test requires that we save invalid config, so we can test that it gets
validated after applying a recipe.
ConfigActionValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php
ConfigActionValidationTest::testConfigActionDependenciesAreValidated function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php Tests validating that config actions' dependencies are present.
ConfigActionValidationTest::testConfigActionMissingDependency function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php Tests config action validation for missing dependency.
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]]
ConfigBase::validateKeys function core/lib/Drupal/Core/Config/ConfigBase.php Validates all keys in a passed in config array structure.
ConfigBase::validateName function core/lib/Drupal/Core/Config/ConfigBase.php Validates the configuration object name.
ConfigCacheTag::$cacheTagsInvalidator property core/modules/system/src/EventSubscriber/ConfigCacheTag.php The cache tags invalidator.
ConfigCRUDTest::testNameValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php Tests the validation of configuration object names.
ConfigCRUDTest::testValueValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php Tests the validation of configuration object values.
ConfigEntityAdapterTest::testValidate function core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityAdapterTest.php @covers ::validate[[api-linebreak]]
ConfigEntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Returns the cache tags that should be used to invalidate caches.
ConfigEntityBase::invalidateTagsOnDelete function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Override to never invalidate the individual entities' cache tags; the
config system already invalidates them.
ConfigEntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Override to never invalidate the entity's cache tag; the config system
already invalidates it.
ConfigEntityBaseUnitTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php The mocked cache backend.
ConfigEntityStorageTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php The mocked cache backend.
ConfigEntityStorageTest::testSaveInvalid function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php @covers ::save[[api-linebreak]]
ConfigEntityTypeTest::testConfigPrefixLengthValid function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php Tests when the prefix length is valid.
ConfigEntityValidationTestBase class core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Base class for testing validation of config entities.
ConfigEntityValidationTestBase.php file core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php
ConfigEntityValidationTestBase::$entity property core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php The config entity being tested.

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