14 calls to ComponentRendererTrait::renderComponentRenderArray()
- ComponentNegotiatorTest::testRenderWithReplacements in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentNegotiatorTest.php - Tests rendering components with component replacement.
- ComponentNodeVisitorTest::testOtherVisitorsCanModifyTwigNodes in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentNodeVisitorTest.php - Test that other visitors can modify Twig nodes.
- ComponentRenderTest::checkArrayObjectTypeCast in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensure fuzzy coercing of arrays and objects works properly.
- ComponentRenderTest::checkAttributeMerging in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensures the attributes are merged properly.
- ComponentRenderTest::checkEmbedWithNested in core/
modules/ sdc/ tests/ src/ Kernel/ 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::checkIncludeDataMapping in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Check using a component with an include and no default context.
- ComponentRenderTest::checkIncludeDefaultContent in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Check using a component with an include and default context.
- ComponentRenderTest::checkInvalidSlot in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensure that the slots throw an error for invalid slots.
- ComponentRenderTest::checkLibraryOverrides in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Check using the libraryOverrides.
- ComponentRenderTest::checkNonExistingComponent in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensures that including an invalid component creates an error.
- ComponentRenderTest::checkPropValidation in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensures the schema violations are reported properly.
- ComponentRenderTest::checkRenderElementAlters in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensures the alter callbacks work properly.
- 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.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.