Search for component

  1. Search 7.x for component
  2. Search 9.5.x for component
  3. Search 8.9.x for component
  4. Search 11.x for component
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Component class core/modules/sdc/src/Plugin/Component.php Simple value object that contains information about the component.
Component class core/lib/Drupal/Core/Plugin/Component.php Simple value object that contains information about the component.

All search results

Title Object type File name Summary
ComponentMetadataTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php
ComponentMetadataTest.php file core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php
ComponentMetadataTest::dataProviderMetadata function core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php Data provider for the test testMetadataEnforceSchema.
ComponentMetadataTest::dataProviderMetadata function core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php Data provider for the test testMetadataEnforceSchema.
ComponentMetadataTest::testMetadata function core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php Tests that the correct data is returned for each property.
ComponentMetadataTest::testMetadata function core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php Tests that the correct data is returned for each property.
ComponentMetadataTest::testMetadataEnforceSchema function core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php Tests the correct checks when enforcing schemas or not.
ComponentMetadataTest::testMetadataEnforceSchema function core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php Tests the correct checks when enforcing schemas or not.
ComponentNegotiator class core/lib/Drupal/Core/Theme/ComponentNegotiator.php Determines which component should be used.
ComponentNegotiator class core/modules/sdc/src/ComponentNegotiator.php Determines which component should be used.
ComponentNegotiator.php file core/modules/sdc/src/ComponentNegotiator.php
ComponentNegotiator.php file core/lib/Drupal/Core/Theme/ComponentNegotiator.php
ComponentNegotiator::$activeTheme property core/modules/sdc/src/ComponentNegotiator.php The active theme.
ComponentNegotiator::$cache property core/modules/sdc/src/ComponentNegotiator.php Holds the component IDs from previous negotiations.
ComponentNegotiator::$cache property core/lib/Drupal/Core/Theme/ComponentNegotiator.php Holds the component IDs from previous negotiations.
ComponentNegotiator::clearCache function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Clears the negotiation cache.
ComponentNegotiator::clearCache function core/modules/sdc/src/ComponentNegotiator.php Clears the negotiation cache.
ComponentNegotiator::doNegotiate function core/modules/sdc/src/ComponentNegotiator.php Negotiates the active component for the current request.
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::generateCacheKey function core/modules/sdc/src/ComponentNegotiator.php Generates the cache key for the current theme and the provided component.
ComponentNegotiator::maybeNegotiateByModule function core/modules/sdc/src/ComponentNegotiator.php Negotiate the component from the list of candidates for a module.
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::maybeNegotiateByTheme function core/modules/sdc/src/ComponentNegotiator.php See if there is a candidate in the theme hierarchy.
ComponentNegotiator::negotiate function core/modules/sdc/src/ComponentNegotiator.php Negotiates the active component for the current request.
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.
ComponentNegotiator::__construct function core/modules/sdc/src/ComponentNegotiator.php Constructs ComponentNegotiator objects.
ComponentNegotiatorTest class core/modules/sdc/tests/src/Kernel/ComponentNegotiatorTest.php Tests the component negotiator.
ComponentNegotiatorTest class core/tests/Drupal/Tests/Core/Theme/Component/ComponentNegotiatorTest.php Tests the component negotiator.
ComponentNegotiatorTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentNegotiatorTest.php
ComponentNegotiatorTest.php file core/modules/sdc/tests/src/Kernel/ComponentNegotiatorTest.php
ComponentNegotiatorTest::$modules property core/modules/sdc/tests/src/Kernel/ComponentNegotiatorTest.php Modules to enable.
ComponentNegotiatorTest::$modules property core/tests/Drupal/Tests/Core/Theme/Component/ComponentNegotiatorTest.php Modules to install.
ComponentNegotiatorTest::$themes property core/tests/Drupal/Tests/Core/Theme/Component/ComponentNegotiatorTest.php Themes to install.
ComponentNegotiatorTest::$themes property core/modules/sdc/tests/src/Kernel/ComponentNegotiatorTest.php Themes to install.
ComponentNegotiatorTest::testNegotiate function core/modules/sdc/tests/src/Kernel/ComponentNegotiatorTest.php @covers ::negotiate
ComponentNegotiatorTest::testNegotiate function core/tests/Drupal/Tests/Core/Theme/Component/ComponentNegotiatorTest.php @covers ::negotiate[[api-linebreak]]
ComponentNegotiatorTest::testRenderWithReplacements function core/tests/Drupal/Tests/Core/Theme/Component/ComponentNegotiatorTest.php Tests rendering components with component replacement.
ComponentNegotiatorTest::testRenderWithReplacements function core/modules/sdc/tests/src/Kernel/ComponentNegotiatorTest.php Tests rendering components with component replacement.
ComponentNodeVisitor class core/modules/sdc/src/Twig/ComponentNodeVisitor.php Provides a ComponentNodeVisitor to change the generated parse-tree.
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.php file core/modules/sdc/src/Twig/ComponentNodeVisitor.php
ComponentNodeVisitor::emojiForString function core/modules/sdc/src/Twig/ComponentNodeVisitor.php Chooses an emoji representative for the input string.
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::enterNode function core/modules/sdc/src/Twig/ComponentNodeVisitor.php
ComponentNodeVisitor::getComponent function core/modules/sdc/src/Twig/ComponentNodeVisitor.php Finds the SDC for the current module node.

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