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 |
---|---|---|---|
RendererPlaceholdersTest::testInvalidLazyBuilderArguments | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
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[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererPlaceholdersTest::testPlaceholderingDisabledForPostRequests | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] @covers \Drupal\Core\Render\RenderCache::get[[api-linebreak]] @covers \Drupal\Core\Render\PlaceholderingRenderCache::get[[api-linebreak]] @covers… |
RendererPlaceholdersTest::testPropertiesPlusBuilder | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
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[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererPlaceholdersTest::testUncacheableParent | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererRecursionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Renderer[[api-linebreak]] @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/ |
Tests that renderRoot() can be called from anywhere including recursively. |
RendererRecursionTest::testRenderRecursionWithNestedRenderRoot | function | core/ |
Tests that renderRoot() may not be called recursively. |
RendererTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Renderer[[api-linebreak]] @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(). |
RendererTest::testAddCacheableDependency | function | core/ |
@covers ::addCacheableDependency[[api-linebreak]] |
RendererTest::testElementDefaultsAdded | function | core/ |
Tests that element defaults are added. |
RendererTest::testHasRenderContext | function | core/ |
@covers ::hasRenderContext[[api-linebreak]] |
RendererTest::testRenderAccessCacheabilityDependencyInheritance | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererTest::testRenderBasic | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererTest::testRenderCache | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] @covers \Drupal\Core\Render\RenderCache::get[[api-linebreak]] @covers \Drupal\Core\Render\RenderCache::set[[api-linebreak]] |
RendererTest::testRenderCacheMaxAge | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] @covers \Drupal\Core\Render\RenderCache::get[[api-linebreak]] @covers \Drupal\Core\Render\RenderCache::set[[api-linebreak]] |
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[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererTest::testRenderSortingWithSetHashSorted | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererTest::testRenderTwice | function | core/ |
Tests rendering same render array twice. |
RendererTest::testRenderWithAccessCallbackCallable | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererTest::testRenderWithAccessControllerResolved | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererTest::testRenderWithAccessPropertyAndCallback | function | core/ |
Ensures that the #access property wins over the callable. |
RendererTest::testRenderWithoutThemeArguments | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererTest::testRenderWithPresetAccess | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
RendererTest::testRenderWithThemeArguments | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] |
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. |
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.