Search for render
- Search 7.x for render
- Search 9.5.x for render
- Search 8.9.x for render
- Search 10.3.x for render
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
RendererInterface::addCacheableDependency | function | core/ |
Adds a dependency on an object: merges its cacheability metadata. |
RendererInterface::executeInRenderContext | function | core/ |
Executes a callable within a render context. |
RendererInterface::hasRenderContext | function | core/ |
Checks whether a render context is active. |
RendererInterface::mergeBubbleableMetadata | function | core/ |
Merges the bubbleable rendering metadata o/t 2nd render array with the 1st. |
RendererInterface::render | function | core/ |
Renders HTML given a structured array tree. |
RendererInterface::renderInIsolation | function | core/ |
Renders final HTML in situations where no assets are needed. |
RendererInterface::renderPlaceholder | function | core/ |
Renders final HTML for a placeholder. |
RendererInterface::renderPlain | function | core/ |
|
RendererInterface::renderRoot | function | core/ |
Renders final HTML given a structured array tree. |
RendererPlaceholdersTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Renderer @covers \Drupal\Core\Render\RenderCache @covers \Drupal\Core\Render\PlaceholderingRenderCache @group Render |
RendererPlaceholdersTest.php | file | core/ |
|
RendererPlaceholdersTest::assertPlaceholderRenderCache | function | core/ |
@internal |
RendererPlaceholdersTest::generatePlaceholderElement | function | core/ |
Generates an element with a placeholder. |
RendererPlaceholdersTest::generatePlaceholdersWithChildrenTestElement | function | core/ |
Generates an element with placeholders at 3 levels. |
RendererPlaceholdersTest::generatePlaceholderWithLazyBuilderPreview | function | core/ |
Generates an element with a lazy builder and preview. |
RendererPlaceholdersTest::providerPlaceholders | function | core/ |
Provides the two classes of placeholders: cacheable and uncacheable. |
RendererPlaceholdersTest::setUp | function | core/ |
|
RendererPlaceholdersTest::setupThemeManagerForDetails | function | core/ |
Sets up the theme manager for the <details>-tag. |
RendererPlaceholdersTest::testCacheableParent | function | core/ |
@covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set |
RendererPlaceholdersTest::testCacheableParentWithPostRequest | function | core/ |
@covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers ::replacePlaceholders |
RendererPlaceholdersTest::testChildrenPlusBuilder | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testCreatePlaceholderPropertyWithoutLazyBuilder | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testInvalidLazyBuilder | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testInvalidLazyBuilderArguments | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testNonArrayReturnFromLazyBuilder | function | core/ |
Tests that an error is thrown if a lazy builder doesn't return an array. |
RendererPlaceholdersTest::testNonScalarLazyBuilderCallbackContext | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testPlaceholderingDisabledForPostRequests | function | core/ |
@covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\PlaceholderingRenderCache::get @covers \Drupal\Core\Render\PlaceholderingRenderCache::set @covers ::replacePlaceholders |
RendererPlaceholdersTest::testPropertiesPlusBuilder | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testRecursivePlaceholder | function | core/ |
Tests a placeholder that adds another placeholder. |
RendererPlaceholdersTest::testRenderChildrenPlaceholdersDifferentArguments | function | core/ |
Tests the creation of an element with a child and a sub-child. |
RendererPlaceholdersTest::testRenderLazyBuilderPreview | function | core/ |
Tests the creation of an element with a lazy_builder_preview. |
RendererPlaceholdersTest::testScalarLazyBuilderCallbackContext | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testUncacheableParent | function | core/ |
@covers ::render @covers ::doRender |
RendererRecursionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Renderer @group Render |
RendererRecursionTest.php | file | core/ |
|
RendererRecursionTest::setUpRenderRecursionComplexElements | function | core/ |
|
RendererRecursionTest::testRenderRecursionWithNestedRender | function | core/ |
Tests that render() may be called from anywhere. |
RendererRecursionTest::testRenderRecursionWithNestedRenderInIsolation | function | core/ |
::renderInIsolation() may be called from anywhere. |
RendererRecursionTest::testRenderRecursionWithNestedRenderRoot | function | core/ |
Tests that renderRoot() may not be called recursively. |
RendererTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Renderer @group Render |
RendererTest.php | file | core/ |
|
RendererTest::$defaultThemeVars | property | core/ |
The expected theme variables. |
RendererTest::assertAccess | function | core/ |
Asserts that a render array with access checking renders correctly. |
RendererTest::providerAccessValues | function | core/ |
Provides a list of both booleans. |
RendererTest::providerRenderCache | function | core/ |
Provides a list of access conditions and expected cache metadata. |
RendererTest::providerRenderTwice | function | core/ |
Provides a list of render array iterations. |
RendererTest::providerTestAddCacheableDependency | function | core/ |
|
RendererTest::providerTestRenderBasic | function | core/ |
Provides a list of render arrays to test basic rendering. |
RendererTest::providerTestRenderCacheMaxAge | function | core/ |
|
RendererTest::providerTestRenderCacheProperties | function | core/ |
Data provider for ::testRenderCacheProperties(). |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.