Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
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.
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.
ComponentPluginManager::find function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Gets a component for rendering.
ComponentPluginManager::findAsset function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Finds assets related to the provided metadata file.
ComponentPluginManager::getAllComponents function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Gets all components.
ComponentPluginManager::getDiscovery function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Gets the plugin discovery.
ComponentPluginManager::getScanDirectories function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Get the list of directories to scan.
ComponentPluginManager::isValidDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Validates the metadata info.
ComponentPluginManager::libraryFromDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Creates the library declaration array from a component definition.
ComponentPluginManager::makePathRelativeToLibraryRoot function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Takes a path and makes it relative to the library provider.

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