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