17 #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::checkEmbedWithNested in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Render a card with slots that include a CTA component.
- ComponentRenderTest::checkEmbedWithNested in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Render a card with slots that include a CTA component.
- ComponentRenderTest::checkEmptyProps in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensure that components can have 0 props.
- ComponentRenderTest::checkEmptyProps in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensure that components can have 0 props.
- ComponentRenderTest::checkInvalidSlot in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensure that the slots throw an error for invalid slots.
- ComponentRenderTest::checkInvalidSlot in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensure that the slots throw an error for invalid slots.
- ComponentRenderTest::checkRenderElementAlters in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensures the alter callbacks work properly.
- ComponentRenderTest::checkRenderElementAlters in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensures the alter callbacks work properly.
- ComponentRenderTest::checkSlots 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::checkSlots in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensure that the slots allow a render array or a scalar when using the render element.
- ComponentRenderTest::testCssOrder in core/
tests/ Drupal/ KernelTests/ Component/ ComponentRenderTest.php - Tests the CSS load order.
- ComponentRenderTest::testVariants in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensure that components variants render.
- ComponentTranslationTest::testEnumPropsCanBeTranslated in core/
tests/ Drupal/ KernelTests/ Components/ ComponentTranslationTest.php - Test that components render enum props correctly with their translations.
- 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.