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
RenderableInterface::toRenderable function core/lib/Drupal/Core/Render/RenderableInterface.php Returns a render array representation of the object.
RenderArrayNonHtmlSubscriber class core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php Throws 406 if requesting non-HTML format and controller returns render array.
RenderArrayNonHtmlSubscriber.php file core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php
RenderArrayNonHtmlSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php
RenderArrayNonHtmlSubscriber::onRespond function core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php Throws an HTTP 406 error if client requested a non-HTML format.
RenderArrayNonHtmlSubscriberTest class core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php Functional test verifying that render array throws 406 for non-HTML requests.
RenderArrayNonHtmlSubscriberTest.php file core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php
RenderArrayNonHtmlSubscriberTest::$defaultTheme property core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php The theme to install as the default for testing.
RenderArrayNonHtmlSubscriberTest::$modules property core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php Modules to install.
RenderArrayNonHtmlSubscriberTest::testResponses function core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php Tests handling of responses by events subscriber.
RenderArrayNonHtmlSubscriberTestController class core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php Controller for testing testing non-HTML requests.
RenderArrayNonHtmlSubscriberTestController.php file core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RenderArrayNonHtmlSubscriberTestController::rawString function core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RenderArrayNonHtmlSubscriberTestController::renderArray function core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RenderAttachedTestController class core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Controller for various permutations of #attached in the render array.
RenderAttachedTestController.php file core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php
RenderAttachedTestController::feed function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests attached feed rendering.
RenderAttachedTestController::head function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests attached HTML head rendering.
RenderAttachedTestController::header function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests attached HTML head rendering.
RenderAttachedTestController::htmlHeaderLink function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests HTTP header rendering for link.
RenderAttachedTestController::teapotHeaderStatus function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests special header and status code rendering.
RenderCache class core/lib/Drupal/Core/Render/RenderCache.php Wraps the caching logic for the render caching system.
RenderCache.php file core/lib/Drupal/Core/Render/RenderCache.php
RenderCache::get function core/lib/Drupal/Core/Render/RenderCache.php Gets the cached, pre-rendered element of a renderable element from cache.
RenderCache::getCacheableRenderArray function core/lib/Drupal/Core/Render/RenderCache.php Gets a cacheable render array for a render array and its rendered output.
RenderCache::getMultiple function core/lib/Drupal/Core/Render/RenderCache.php Gets multiple cached, pre-rendered elements from cache.
RenderCache::isCacheableForCurrentHttpMethod function core/lib/Drupal/Core/Render/RenderCache.php Checks if a set of cache tags are cacheable for the current HTTP method.
RenderCache::isElementCacheable function core/lib/Drupal/Core/Render/RenderCache.php Checks whether a renderable array can be cached.
RenderCache::set function core/lib/Drupal/Core/Render/RenderCache.php Caches the rendered output of a renderable array.
RenderCache::__construct function core/lib/Drupal/Core/Render/RenderCache.php Constructs a new RenderCache object.
RenderCacheIntegrationTest class core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests the general integration between views and the render cache.
RenderCacheIntegrationTest.php file core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php
RenderCacheIntegrationTest::$modules property core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Modules to install.
RenderCacheIntegrationTest::$testViews property core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Views to be enabled.
RenderCacheIntegrationTest::assertCacheTagsForEntityBasedView function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests cache tags on output & result cache items for an entity-based view.
RenderCacheIntegrationTest::assertCacheTagsForFieldBasedView function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests cache tags on output & result cache items for a field-based view.
RenderCacheIntegrationTest::setUp function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php
RenderCacheIntegrationTest::testBuildRenderableWithCacheContexts function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Ensure that the view renderable contains the cache contexts.
RenderCacheIntegrationTest::testEntityBasedViewCacheTagsWithCachePluginNone function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests an entity-based view's cache tags when using the "none" cache plugin.
RenderCacheIntegrationTest::testEntityBasedViewCacheTagsWithCachePluginTag function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests an entity-based view's cache tags when using the "tag" cache plugin.
RenderCacheIntegrationTest::testEntityBasedViewCacheTagsWithCachePluginTime function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests an entity-based view's cache tags when using the "time" cache plugin.
RenderCacheIntegrationTest::testFieldBasedViewCacheTagsWithCachePluginNone function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests a field-based view's cache tags when using the "none" cache plugin.
RenderCacheIntegrationTest::testFieldBasedViewCacheTagsWithCachePluginTag function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests a field-based view's cache tags when using the "tag" cache plugin.
RenderCacheIntegrationTest::testFieldBasedViewCacheTagsWithCachePluginTime function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests a field-based view's cache tags when using the "time" cache plugin.
RenderCacheIntegrationTest::testViewAddCacheMetadata function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Ensures that saving a view calculates the cache contexts.
RenderCacheInterface interface core/lib/Drupal/Core/Render/RenderCacheInterface.php Defines an interface for caching rendered render arrays.
RenderCacheInterface.php file core/lib/Drupal/Core/Render/RenderCacheInterface.php
RenderCacheInterface::get function core/lib/Drupal/Core/Render/RenderCacheInterface.php Gets the cached, pre-rendered element of a renderable element from cache.
RenderCacheInterface::getCacheableRenderArray function core/lib/Drupal/Core/Render/RenderCacheInterface.php Gets a cacheable render array for a render array and its rendered output.
RenderCacheInterface::getMultiple function core/lib/Drupal/Core/Render/RenderCacheInterface.php Gets multiple cached, pre-rendered elements from cache.

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