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 11.x for on
  5. Other projects
Title Object type File name Summary
ComponentLoader::findTemplate function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php Finds a template in the file system based on the template name.
ComponentLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php
ComponentLoader::getSourceContext function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php
ComponentLoader::isFresh function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php
ComponentLoader::__construct function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php Constructs a new ComponentLoader object.
ComponentMetadata class core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Component metadata.
ComponentMetadata.php file core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php
ComponentMetadata::$description property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component description.
ComponentMetadata::$documentation property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component documentation.
ComponentMetadata::$group property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component group.
ComponentMetadata::$machineName property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The machine name for the component.
ComponentMetadata::$mandatorySchemas property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php TRUE if the schemas for props and slots are mandatory.
ComponentMetadata::$name property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The component's name.
ComponentMetadata::$path property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The absolute path to the component directory.
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::$thumbnailPath property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The PNG path for the component thumbnail.
ComponentMetadata::getThumbnailPath function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Gets the thumbnail path.
ComponentMetadata::normalize function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Normalizes the value object.
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::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/Tests/Core/Theme/Component/ComponentNegotiatorTest.php Tests the component negotiator.
ComponentNegotiatorTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentNegotiatorTest.php
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::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.
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

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