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. Search 11.x for to
  6. Other projects
Title Object type File name Summary
ComponentGenerator::getPackage function composer/Generator/ComponentGenerator.php Reconcile component dependencies with core.
ComponentGenerator::initialPackageMetadata function composer/Generator/ComponentGenerator.php Common default metadata for all components.
ComponentGenerator::__construct function composer/Generator/ComponentGenerator.php ComponentGenerator constructor.
ComponentKernelTestBase::$negotiator property core/tests/Drupal/KernelTests/Components/ComponentKernelTestBase.php The component negotiator.
ComponentMetadata::$mandatorySchemas property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php TRUE if the schemas for props and slots are mandatory.
ComponentNegotiator class core/lib/Drupal/Core/Theme/ComponentNegotiator.php Determines which component should be used.
ComponentNegotiator.php file core/lib/Drupal/Core/Theme/ComponentNegotiator.php
ComponentNegotiator::$cache property core/lib/Drupal/Core/Theme/ComponentNegotiator.php Holds the component IDs from previous negotiations.
ComponentNegotiator::$deprecatedProperties property core/lib/Drupal/Core/Theme/ComponentNegotiator.php
ComponentNegotiator::clearCache function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Clears the negotiation cache.
ComponentNegotiator::doNegotiate function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Negotiates the active component for the current request.
ComponentNegotiator::generateCacheKey function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Generates the cache key for the current theme and the provided component.
ComponentNegotiator::maybeNegotiateByModule function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Negotiate the component from the list of candidates for a module.
ComponentNegotiator::maybeNegotiateByTheme function core/lib/Drupal/Core/Theme/ComponentNegotiator.php See if there is a candidate in the theme hierarchy.
ComponentNegotiator::negotiate function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Negotiates the active component for the current request.
ComponentNegotiator::__construct function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Constructs ComponentNegotiator objects.
ComponentNegotiatorTest class core/tests/Drupal/KernelTests/Components/ComponentNegotiatorTest.php Tests the component negotiator.
ComponentNegotiatorTest.php file core/tests/Drupal/KernelTests/Components/ComponentNegotiatorTest.php
ComponentNegotiatorTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentNegotiatorTest.php Modules to install.
ComponentNegotiatorTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentNegotiatorTest.php Themes to install.
ComponentNegotiatorTest::testNegotiate function core/tests/Drupal/KernelTests/Components/ComponentNegotiatorTest.php Tests negotiate.
ComponentNegotiatorTest::testRenderWithReplacements function core/tests/Drupal/KernelTests/Components/ComponentNegotiatorTest.php Tests rendering components with component replacement.
ComponentNodeVisitor class core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Provides a ComponentNodeVisitor to change the generated parse-tree.
ComponentNodeVisitor.php file core/lib/Drupal/Core/Template/ComponentNodeVisitor.php
ComponentNodeVisitor::emojiForString function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Chooses an emoji representative for the input string.
ComponentNodeVisitor::enterNode function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php
ComponentNodeVisitor::getComponent function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Finds the SDC for the current module node.
ComponentNodeVisitor::getPriority function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php
ComponentNodeVisitor::leaveNode function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php
ComponentNodeVisitor::validateSlots function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Performs a cheap validation of the slots in the template.
ComponentNodeVisitor::__construct function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Creates a new ComponentNodeVisitor object.
ComponentNodeVisitorTest class core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php Tests the node visitor.
ComponentNodeVisitorTest.php file core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php
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.

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