Search for render

  1. Search 7.x for render
  2. Search 9.5.x for render
  3. Search 8.9.x for render
  4. Search 11.x for render
  5. Other projects
Title Object type File name Summary
RendererPlaceholdersTest::testNonArrayReturnFromLazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests that an error is thrown if a lazy builder doesn't return an array.
RendererPlaceholdersTest::testNonScalarLazyBuilderCallbackContext function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
RendererPlaceholdersTest::testPlaceholderingDisabledForPostRequests function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @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/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
RendererPlaceholdersTest::testRecursivePlaceholder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests a placeholder that adds another placeholder.
RendererPlaceholdersTest::testRenderChildrenPlaceholdersDifferentArguments function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests the creation of an element with a child and a sub-child.
RendererPlaceholdersTest::testRenderLazyBuilderPreview function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests the creation of an element with a lazy_builder_preview.
RendererPlaceholdersTest::testScalarLazyBuilderCallbackContext function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
RendererPlaceholdersTest::testUncacheableParent function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
RendererRecursionTest class core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php @coversDefaultClass \Drupal\Core\Render\Renderer
@group Render
RendererRecursionTest.php file core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
RendererRecursionTest::setUpRenderRecursionComplexElements function core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
RendererRecursionTest::testRenderRecursionWithNestedRender function core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php ::render() may be called from anywhere.
RendererRecursionTest::testRenderRecursionWithNestedRenderInIsolation function core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php ::renderInIsolation() may be called from anywhere.
RendererRecursionTest::testRenderRecursionWithNestedRenderRoot function core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php ::renderRoot() may not be called inside of another ::renderRoot() call.
RendererTest class core/tests/Drupal/Tests/Core/Render/RendererTest.php @coversDefaultClass \Drupal\Core\Render\Renderer
@group Render
RendererTest.php file core/tests/Drupal/Tests/Core/Render/RendererTest.php
RendererTest::$defaultThemeVars property core/tests/Drupal/Tests/Core/Render/RendererTest.php
RendererTest::assertAccess function core/tests/Drupal/Tests/Core/Render/RendererTest.php Asserts that a render array with access checking renders correctly.
RendererTest::providerAccessValues function core/tests/Drupal/Tests/Core/Render/RendererTest.php Provides a list of both booleans.
RendererTest::providerRenderCache function core/tests/Drupal/Tests/Core/Render/RendererTest.php Provides a list of access conditions and expected cache metadata.
RendererTest::providerRenderTwice function core/tests/Drupal/Tests/Core/Render/RendererTest.php Provides a list of render array iterations.
RendererTest::providerTestAddCacheableDependency function core/tests/Drupal/Tests/Core/Render/RendererTest.php
RendererTest::providerTestRenderBasic function core/tests/Drupal/Tests/Core/Render/RendererTest.php Provides a list of render arrays to test basic rendering.
RendererTest::providerTestRenderCacheMaxAge function core/tests/Drupal/Tests/Core/Render/RendererTest.php
RendererTest::providerTestRenderCacheProperties function core/tests/Drupal/Tests/Core/Render/RendererTest.php Data provider for ::testRenderCacheProperties().
RendererTest::testAddCacheableDependency function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::addCacheableDependency
RendererTest::testRenderAccessCacheabilityDependencyInheritance function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderBasic function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderCache function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
@covers \Drupal\Core\Render\RenderCache::get
@covers \Drupal\Core\Render\RenderCache::set
RendererTest::testRenderCacheMaxAge function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
@covers \Drupal\Core\Render\RenderCache::get
@covers \Drupal\Core\Render\RenderCache::set
RendererTest::testRenderCacheProperties function core/tests/Drupal/Tests/Core/Render/RendererTest.php Tests that #cache_properties are properly handled.
RendererTest::testRenderChildrenAccess function core/tests/Drupal/Tests/Core/Render/RendererTest.php Ensures that #access is taken in account when rendering #render_children.
RendererTest::testRenderSorting function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderSortingWithSetHashSorted function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderTwice function core/tests/Drupal/Tests/Core/Render/RendererTest.php Tests rendering same render array twice.
RendererTest::testRenderWithAccessCallbackCallable function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderWithAccessControllerResolved function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderWithAccessPropertyAndCallback function core/tests/Drupal/Tests/Core/Render/RendererTest.php Ensures that the #access property wins over the callable.
RendererTest::testRenderWithoutThemeArguments function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderWithPresetAccess function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderWithThemeArguments function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTestBase class core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Base class for the actual unit tests testing \Drupal\Core\Render\Renderer.
RendererTestBase.php file core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
RendererTestBase::$cacheContextsManager property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
RendererTestBase::$cacheFactory property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
RendererTestBase::$callableResolver property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The mocked controller resolver.
RendererTestBase::$currentUserRole property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The simulated "current" user role, for use in tests with cache contexts.
RendererTestBase::$datetimeTime property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php System time service.
RendererTestBase::$elementInfo property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The mocked element info.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.