16 #type uses of ComponentElement

ComponentAsFormElementTest::buildForm in core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentInFormTest::buildForm in core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php
ComponentNodeVisitorTest::testDebugRendersComponentStartWithVariant in core/tests/Drupal/KernelTests/Components/ComponentNodeVisitorTest.php
Test debug output for sdc components with component id and variant.
ComponentRenderTest::testCheckElementAttributesAndPropAttributesMerging in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensures the element and prop attributes are merged properly.
ComponentRenderTest::testCssOrder in core/tests/Drupal/KernelTests/Component/ComponentRenderTest.php
Tests the CSS load order.
ComponentRenderTest::testRenderElementAlters in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensures the alter callbacks work properly.
ComponentRenderTest::testRenderEmbedWithNested in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Render a card with slots that include a CTA component.
ComponentRenderTest::testRenderEmptyProps in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensure that components can have 0 props.
ComponentRenderTest::testRenderInvalidSlot in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensure that the slots throw an error for invalid slots.
ComponentRenderTest::testRenderNestedPropValidationIncludesCallingTemplate in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensures nested invalid props report the calling parent template.
ComponentRenderTest::testRenderSlots in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensure that the slots allow a render array or a scalar when using the render element.
ComponentRenderTest::testVariants in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensure that components variants render.
CvaTest::testCva in core/tests/Drupal/KernelTests/Core/Theme/CvaTest.php
Tests rendering a component that uses CVA.
DemoUmamiHooks::navigationContentTop in core/profiles/demo_umami/src/Hook/DemoUmamiHooks.php
Implements hook_navigation_content_top().
NavigationHooks::navigationWorkspaces in core/modules/navigation/src/Hook/NavigationHooks.php
Implements hook_navigation_content_top().
PageContext::build in core/modules/navigation/src/Plugin/TopBarItem/PageContext.php

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