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. Search 11.x for all
  6. Other projects
Title Object type File name Summary
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::$id property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The ID of the component, in the form of provider:machine_name.
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::$noUi property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Internal component, hidden in ui.
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::$variants property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php The available variants.
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::$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.

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