Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
ComponentNodeVisitorTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php Modules to install.
ComponentNodeVisitorTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php Themes to install.
ComponentNodeVisitorTest::DEBUG_COMPONENT_ID_PATTERN constant core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php
ComponentNodeVisitorTest::DEBUG_VARIANT_ID_PATTERN constant core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php
ComponentNodeVisitorTest::testDebugRendersComponentStartWithVariant function core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php Test debug output for sdc components with component id and variant.
ComponentNodeVisitorTest::testOtherVisitorsCanModifyTwigNodes function core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php Test that other visitors can modify Twig nodes.
ComponentPluginManager::getScanDirectories function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Get the list of directories to scan.
ComponentPluginManager::makePathRelativeToLibraryRoot function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Takes a path and makes it relative to the library provider.
ComponentsIsolatedBuildTest::addExpectedRepositories function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Adds expected repositories as path repositories to package under test.
ComponentsTwigExtension::getNodeVisitors function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php
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.
Composer::preAutoloadDump function core/lib/Drupal/Core/Composer/Composer.php Add vendor classes to Composer's static classmap.
ComposerInspector class core/modules/package_manager/src/ComposerInspector.php Defines a class to get information from Composer.
ComposerInspector.php file core/modules/package_manager/src/ComposerInspector.php
ComposerInspector::$packageLists property core/modules/package_manager/src/ComposerInspector.php Statically cached installed package lists, keyed by directory.
ComposerInspector::$processCallback property core/modules/package_manager/src/ComposerInspector.php The process output callback.
ComposerInspector::getAllowPluginsConfig function core/modules/package_manager/src/ComposerInspector.php Returns the value of `allow-plugins` config setting.
ComposerInspector::getConfig function core/modules/package_manager/src/ComposerInspector.php Returns a config value from Composer.
ComposerInspector::getInstalledPackagesList function core/modules/package_manager/src/ComposerInspector.php Returns the installed packages list.
ComposerInspector::getPackageTypes function core/modules/package_manager/src/ComposerInspector.php Loads package types from the lock file.
ComposerInspector::getRootPackageInfo function core/modules/package_manager/src/ComposerInspector.php Returns the output of `composer show --self` in a directory.
ComposerInspector::getVersion function core/modules/package_manager/src/ComposerInspector.php Returns the current Composer version.
ComposerInspector::invalidateCacheIfNeeded function core/modules/package_manager/src/ComposerInspector.php Invalidates cached data if composer.json or composer.lock have changed.
ComposerInspector::setLogger function core/modules/package_manager/src/ComposerInspector.php
ComposerInspector::show function core/modules/package_manager/src/ComposerInspector.php Gets the installed packages data from running `composer show`.
ComposerInspector::SUPPORTED_VERSION constant core/modules/package_manager/src/ComposerInspector.php A semantic version constraint for the supported version(s) of Composer.
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.
ComposerInspector::__construct function core/modules/package_manager/src/ComposerInspector.php

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