Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 10.3.x for on
  5. Other projects
Title Object type File name Summary
ComponentMetadata::parseSchemaInfo function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Parse the schema information.
ComponentMetadata::__construct function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php ComponentMetadata constructor.
ComponentMetadataTest class core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php Unit tests for the component metadata class.
ComponentMetadataTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php
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::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.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 @covers ::negotiate[[api-linebreak]]
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.
ComponentNotFoundException class core/lib/Drupal/Core/Render/Component/Exception/ComponentNotFoundException.php Raised when a component cannot be found.
ComponentNotFoundException.php file core/lib/Drupal/Core/Render/Component/Exception/ComponentNotFoundException.php
ComponentPluginManager class core/lib/Drupal/Core/Theme/ComponentPluginManager.php Defines a plugin manager to deal with components.
ComponentPluginManager.php file core/lib/Drupal/Core/Theme/ComponentPluginManager.php
ComponentPluginManager::$defaults property core/lib/Drupal/Core/Theme/ComponentPluginManager.php A set of defaults to be referenced by $this->processDefinition().
ComponentPluginManager::alterDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Alters the plugin definition with computed properties.
ComponentPluginManager::alterDefinitions function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Invokes the hook to alter the definitions if the alter hook is set.
ComponentPluginManager::clearCachedDefinitions function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Clears static and persistent plugin definition caches.
ComponentPluginManager::createInstance function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Creates an instance.

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