Search for id

  1. Search 7.x for id
  2. Search 9.5.x for id
  3. Search 8.9.x for id
  4. Search 10.3.x for id
  5. Other projects
Title Object type File name Summary
ComponentRenderTest::checkPropValidation function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the schema violations are reported properly.
ComponentRenderTest::testLibraryOverrides function core/tests/Drupal/FunctionalTests/Components/ComponentRenderTest.php Tests libraryOverrides.
ComponentsIsolatedBuildTest::provideComponentPaths function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Provides an array with relative paths to the component paths.
ComponentsTaggedReleaseTest::providerVersionConstraint function core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php Highly arbitrary version and constraint expectations.
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.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::testCustomValidator function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests we can use a custom validator to validate 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::providerAllowedPlugins function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Data provider for ::testAllowedPlugins().
ComposerInspectorTest::testComposerValidateIsCalled function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php @covers ::validate[[api-linebreak]]
ComposerIntegrationTest::providerTestComposerJson function core/tests/Drupal/Tests/ComposerIntegrationTest.php Data provider for all the composer.json provided by Drupal core.
ComposerIntegrationTest::providerTestExpectedScaffoldFiles function core/tests/Drupal/Tests/ComposerIntegrationTest.php Data provider for the scaffold files test for Drupal core.
ComposerMinimumStabilityValidator class core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php Checks that the packages to install meet the minimum stability.
ComposerMinimumStabilityValidator.php file core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidator::validate function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php Validates composer minimum stability.
ComposerMinimumStabilityValidator::__construct function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidatorTest class core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php @covers \Drupal\package_manager\Validator\ComposerMinimumStabilityValidator[[api-linebreak]]
@group package_manager
@internal
ComposerMinimumStabilityValidatorTest.php file core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php
ComposerMinimumStabilityValidatorTest::testPreRequireEvent function core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php Tests error if requested version is less stable than the minimum: stable.
ComposerPatchesValidator class core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Validates the configuration of the cweagans/composer-patches plugin.
ComposerPatchesValidator.php file core/modules/package_manager/src/Validator/ComposerPatchesValidator.php
ComposerPatchesValidator::computePatcherStatus function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Computes the status of the patcher plugin in a particular directory.
ComposerPatchesValidator::createErrorMessage function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Appends a link to online help to an error message.
ComposerPatchesValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php
ComposerPatchesValidator::PLUGIN_NAME constant core/modules/package_manager/src/Validator/ComposerPatchesValidator.php The name of the plugin being analyzed.
ComposerPatchesValidator::validate function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Validates the status of the patcher plugin.

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