17 calls to ComponentKernelTestBase::renderComponentRenderArray()
- ComponentNegotiatorTest::testRenderWithReplacements in core/
tests/ Drupal/ KernelTests/ Components/ ComponentNegotiatorTest.php - Tests rendering components with component replacement.
- ComponentNodeVisitorTest::testDebugRendersComponentStartWithVariant in core/
tests/ Drupal/ KernelTests/ Components/ ComponentNodeVisitorTest.php - Test debug output for sdc components with component id and variant.
- ComponentNodeVisitorTest::testOtherVisitorsCanModifyTwigNodes in core/
tests/ Drupal/ KernelTests/ Components/ ComponentNodeVisitorTest.php - Test that other visitors can modify Twig nodes.
- ComponentRenderTest::testCheckElementAttributesAndPropAttributesMerging in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensures the element and prop attributes are merged properly.
- ComponentRenderTest::testRenderArrayObjectTypeCast in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensure fuzzy coercing of arrays and objects works properly.
- ComponentRenderTest::testRenderAttributeMerging in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensures the attributes are merged properly.
- 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::testRenderIncludeDataMapping in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Check using a component with an include and no default context.
- ComponentRenderTest::testRenderIncludeDefaultContent in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Check using a component with an include and default context.
- ComponentRenderTest::testRenderInvalidSlot in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensure that the slots throw an error for invalid slots.
- ComponentRenderTest::testRenderLibraryOverrides in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Check using the libraryOverrides.
- ComponentRenderTest::testRenderNonExistingComponent in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensures that including an invalid component creates an error.
- ComponentRenderTest::testRenderPropValidation in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensures the schema violations are reported properly.
- 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.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.