Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
ComponentLoader::__construct function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php Constructs a new ComponentLoader object.
ComponentLoaderTest class core/tests/Drupal/Tests/Core/Theme/Component/ComponentLoaderTest.php Unit tests for the component loader class.
ComponentLoaderTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentLoaderTest.php
ComponentLoaderTest::testIsFresh function core/tests/Drupal/Tests/Core/Theme/Component/ComponentLoaderTest.php Tests the is fresh function for component loader.
ComponentMetadata::$description property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component description.
ComponentMetadata::$mandatorySchemas property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php TRUE if the schemas for props and slots are mandatory.
ComponentMetadata::$schema property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Schema for the component props.
ComponentMetadata::$slots property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Slot information.
ComponentMetadata::$status property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The status of the component.
ComponentMetadata::$variants property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The available variants.
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::$deprecatedProperties property core/lib/Drupal/Core/Theme/ComponentNegotiator.php
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::$defaults property core/lib/Drupal/Core/Theme/ComponentPluginManager.php A set of defaults to be referenced by $this->processDefinition().
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::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.

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