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 10.3.x for valid
  5. Other projects
Title Object type File name Summary
ComponentInvalidReplacementTest::$modules property core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Modules to enable.
ComponentInvalidReplacementTest::$themes property core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Themes to install.
ComponentInvalidReplacementTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Themes to install.
ComponentInvalidReplacementTest::testInvalidDefinitionTheme function core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Ensure that component replacement validates the schema compatibility.
ComponentInvalidReplacementTest::testInvalidDefinitionTheme function core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Ensure that component replacement validates the schema compatibility.
ComponentNodeVisitor::validateSlots function core/modules/sdc/src/Twig/ComponentNodeVisitor.php Performs a cheap validation of the slots in the template.
ComponentNodeVisitor::validateSlots function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Performs a cheap validation of the slots in the template.
ComponentPluginManager::isValidDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Validates the metadata info.
ComponentPluginManager::isValidDefinition function core/modules/sdc/src/ComponentPluginManager.php Validates the metadata info.
ComponentRenderInvalidTest class core/modules/sdc/tests/src/Kernel/ComponentRenderInvalidTest.php Tests invalid render options for components.
ComponentRenderInvalidTest class core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Tests invalid render options for components.
ComponentRenderInvalidTest.php file core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php
ComponentRenderInvalidTest.php file core/modules/sdc/tests/src/Kernel/ComponentRenderInvalidTest.php
ComponentRenderInvalidTest::$modules property core/modules/sdc/tests/src/Kernel/ComponentRenderInvalidTest.php Modules to enable.
ComponentRenderInvalidTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Modules to install.
ComponentRenderInvalidTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Themes to install.
ComponentRenderInvalidTest::$themes property core/modules/sdc/tests/src/Kernel/ComponentRenderInvalidTest.php Themes to install.
ComponentRenderInvalidTest::testInvalidDefinitionModule function core/modules/sdc/tests/src/Kernel/ComponentRenderInvalidTest.php Ensure that components in modules without schema fail validation.
ComponentRenderInvalidTest::testInvalidDefinitionModule function core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Ensure that components in modules without schema fail validation.
ComponentRenderInvalidTest::testInvalidDefinitionTheme function core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Ensure that components in modules without schema fail validation.
ComponentRenderInvalidTest::testInvalidDefinitionTheme function core/modules/sdc/tests/src/Kernel/ComponentRenderInvalidTest.php Ensure that components in modules without schema fail validation.
ComponentRenderTest::checkInvalidSlot function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensure that the slots throw an error for invalid slots.
ComponentRenderTest::checkInvalidSlot function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that the slots throw an error for invalid slots.
ComponentRenderTest::checkPropValidation function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the schema violations are reported properly.
ComponentRenderTest::checkPropValidation function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensures the schema violations are reported properly.
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 class core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates a component based on its definition and the component schema.
ComponentValidator class core/modules/sdc/src/Component/ComponentValidator.php Validates a component based on its definition and the component schema.
ComponentValidator.php file core/modules/sdc/src/Component/ComponentValidator.php
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::$validator property core/modules/sdc/src/Component/ComponentValidator.php The schema validator.
ComponentValidator::getClassProps function core/modules/sdc/src/Component/ComponentValidator.php Gets the props that are not JSON based.
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::nullifyClassPropsSchema function core/modules/sdc/src/Component/ComponentValidator.php Utility method to ensure the schema for class props is set to 'null'.
ComponentValidator::setValidator function core/modules/sdc/src/Component/ComponentValidator.php Sets the validator service if available.
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::validateClassProps function core/modules/sdc/src/Component/ComponentValidator.php Validates the props that are not JSON Schema.
ComponentValidator::validateDefinition function core/modules/sdc/src/Component/ComponentValidator.php Validates the component metadata file.
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.
ComponentValidator::validateProps function core/modules/sdc/src/Component/ComponentValidator.php Validates that the props provided to the component.
ComponentValidatorTest class core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php Unit tests for the component validation.
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.php file core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php
ComponentValidatorTest::dataProviderValidateDefinitionInvalid function core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php Data provider with invalid component definitions.

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