Search for render
- Search 7.x for render
- Search 9.5.x for render
- Search 8.9.x for render
- Search 11.x for render
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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/ |
::render() may be called from anywhere. |
RendererRecursionTest::testRenderRecursionWithNestedRenderInIsolation | function | core/ |
::renderInIsolation() may be called from anywhere. |
RendererRecursionTest::testRenderRecursionWithNestedRenderRoot | function | core/ |
::renderRoot() may not be called inside of another ::renderRoot() call. |
RendererTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Renderer @group Render |
RendererTest.php | file | core/ |
|
RendererTest::$defaultThemeVars | property | core/ |
|
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(). |
RendererTest::testAddCacheableDependency | function | core/ |
@covers ::addCacheableDependency |
RendererTest::testRenderAccessCacheabilityDependencyInheritance | function | core/ |
@covers ::render @covers ::doRender |
RendererTest::testRenderBasic | function | core/ |
@covers ::render @covers ::doRender |
RendererTest::testRenderCache | function | core/ |
@covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set |
RendererTest::testRenderCacheMaxAge | function | core/ |
@covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set |
RendererTest::testRenderCacheProperties | function | core/ |
Tests that #cache_properties are properly handled. |
RendererTest::testRenderChildrenAccess | function | core/ |
Ensures that #access is taken in account when rendering #render_children. |
RendererTest::testRenderSorting | function | core/ |
@covers ::render @covers ::doRender |
RendererTest::testRenderSortingWithSetHashSorted | function | core/ |
@covers ::render @covers ::doRender |
RendererTest::testRenderTwice | function | core/ |
Tests rendering same render array twice. |
RendererTest::testRenderWithAccessCallbackCallable | function | core/ |
@covers ::render @covers ::doRender |
RendererTest::testRenderWithAccessControllerResolved | function | core/ |
@covers ::render @covers ::doRender |
RendererTest::testRenderWithAccessPropertyAndCallback | function | core/ |
Ensures that the #access property wins over the callable. |
RendererTest::testRenderWithoutThemeArguments | function | core/ |
@covers ::render @covers ::doRender |
RendererTest::testRenderWithPresetAccess | function | core/ |
@covers ::render @covers ::doRender |
RendererTest::testRenderWithThemeArguments | function | core/ |
@covers ::render @covers ::doRender |
RendererTestBase | class | core/ |
Base class for the actual unit tests testing \Drupal\Core\Render\Renderer. |
RendererTestBase.php | file | core/ |
|
RendererTestBase::$cacheContextsManager | property | core/ |
|
RendererTestBase::$cacheFactory | property | core/ |
|
RendererTestBase::$callableResolver | property | core/ |
The mocked controller resolver. |
RendererTestBase::$currentUserRole | property | core/ |
The simulated "current" user role, for use in tests with cache contexts. |
RendererTestBase::$datetimeTime | property | core/ |
System time service. |
RendererTestBase::$elementInfo | property | core/ |
The mocked element info. |
Pagination
- Previous page
- Page 24
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.