12 #type uses of ComponentElement
- ComponentInFormTest::buildForm in core/
tests/ Drupal/ KernelTests/ Components/ ComponentInFormTest.php - Form constructor.
- 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::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.
- 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 - Builds and returns the renderable array for this top bar item plugin.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.