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 10.3.x for render
  5. Other projects
Title Object type File name Summary
RendererTest::$defaultThemeVars property core/tests/Drupal/Tests/Core/Render/RendererTest.php The expected theme variables.
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::testHasRenderContext function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::hasRenderContext
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.
RendererTestBase::$memoryCache property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
RendererTestBase::$placeholderGenerator property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The tested placeholder generator.
RendererTestBase::$renderCache property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The tested render cache.
RendererTestBase::$renderer property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The tested renderer.
RendererTestBase::$rendererConfig property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The mocked renderer configuration.
RendererTestBase::$requestStack property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
RendererTestBase::$themeManager property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The mocked theme manager.
RendererTestBase::assertRenderCacheItem function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Asserts a render cache item.
RendererTestBase::randomContextValue function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Generates a random context value for the placeholder tests.
RendererTestBase::setUp function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
RendererTestBase::setUpMemoryCache function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Sets up a memory-based render cache back-end.
RendererTestBase::setUpRequest function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Sets up a request object on the request stack.
RendererTestBase::setUpUnusedCache function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Sets up a render cache back-end that is asserted to be never used.
RenderEvents class core/lib/Drupal/Core/Render/RenderEvents.php Defines events for the render system.
RenderEvents.php file core/lib/Drupal/Core/Render/RenderEvents.php
RenderEvents::SELECT_PAGE_DISPLAY_VARIANT constant core/lib/Drupal/Core/Render/RenderEvents.php Name of the event when selecting a page display variant to use.

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