Search for placeholder

  1. Search 7.x for placeholder
  2. Search 8.9.x for placeholder
  3. Search 10.3.x for placeholder
  4. Search 11.x for placeholder
  5. Other projects
Title Object type File name Summary
PlaceholderStrategyInterface interface core/lib/Drupal/Core/Render/Placeholder/PlaceholderStrategyInterface.php Provides an interface for defining a placeholder strategy service.
PlaceholderStrategyInterface.php file core/lib/Drupal/Core/Render/Placeholder/PlaceholderStrategyInterface.php
PlaceholderStrategyInterface::processPlaceholders function core/lib/Drupal/Core/Render/Placeholder/PlaceholderStrategyInterface.php Processes placeholders to render them with different strategies.
placeholder_strategy service core/core.services.yml Drupal\Core\Render\Placeholder\ChainedPlaceholderStrategy
placeholder_strategy.big_pipe service core/modules/big_pipe/big_pipe.services.yml Drupal\big_pipe\Render\Placeholder\BigPipeStrategy
placeholder_strategy.single_flush service core/core.services.yml Drupal\Core\Render\Placeholder\SingleFlushStrategy
Query::$nextPlaceholder property core/lib/Drupal/Core/Database/Query/Query.php The placeholder counter.
Query::nextPlaceholder function core/lib/Drupal/Core/Database/Query/Query.php Gets the next placeholder value for this query object.
RecursivePlaceholdersTest class core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
RecursivePlaceholdersTest::callback function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php #lazy_builder callback; bubbles another placeholder.
RecursivePlaceholdersTest::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Lists the trusted callbacks provided by the implementing class.
Renderer::$placeholderGenerator property core/lib/Drupal/Core/Render/Renderer.php The placeholder generator.
Renderer::renderPlaceholder function core/lib/Drupal/Core/Render/Renderer.php Renders final HTML for a placeholder.
Renderer::replacePlaceholders function core/lib/Drupal/Core/Render/Renderer.php Replaces placeholders.
RendererInterface::renderPlaceholder function core/lib/Drupal/Core/Render/RendererInterface.php Renders final HTML for a placeholder.
RendererPlaceholdersTest class core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @coversDefaultClass \Drupal\Core\Render\Renderer
@covers \Drupal\Core\Render\RenderCache
@covers \Drupal\Core\Render\PlaceholderingRenderCache
@group Render
RendererPlaceholdersTest.php file core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Contains \Drupal\Tests\Core\Render\RendererPlaceholdersTest.
RendererPlaceholdersTest::assertPlaceholderRenderCache function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @internal
RendererPlaceholdersTest::generatePlaceholderElement function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with a placeholder.
RendererPlaceholdersTest::generatePlaceholdersWithChildrenTestElement function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with placeholders at 3 levels.
RendererPlaceholdersTest::providerPlaceholders function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Provides the two classes of placeholders: cacheable and uncacheable.
RendererPlaceholdersTest::setUp function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
RendererPlaceholdersTest::setupThemeManagerForDetails function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
RendererPlaceholdersTest::testCacheableParent function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
@covers \Drupal\Core\Render\RenderCache::get
@covers \Drupal\Core\Render\RenderCache::set
@covers \Drupal\Core\Render\RenderCache::createCacheID
RendererPlaceholdersTest::testCacheableParentWithPostRequest function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
@covers \Drupal\Core\Render\RenderCache::get
@covers ::replacePlaceholders
RendererPlaceholdersTest::testChildrenPlusBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
RendererPlaceholdersTest::testCreatePlaceholderPropertyWithoutLazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
RendererPlaceholdersTest::testInvalidLazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
RendererPlaceholdersTest::testInvalidLazyBuilderArguments function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
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::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
RendererTestBase::$placeholderGenerator property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The tested placeholder generator.
RenderPlaceholderMessageTestController class core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController.php file core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::build function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::messagesPlaceholderFirst function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::messagesPlaceholderLast function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::messagesPlaceholderMiddle function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::queuedMessages function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::setAndLogMessage function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php #lazy_builder callback; sets and prints a message.
RenderPlaceholderMessageTestController::trustedCallbacks function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php Lists the trusted callbacks provided by the implementing class.
render_placeholder_generator service core/core.services.yml Drupal\Core\Render\PlaceholderGenerator
render_placeholder_message_test.info.yml file core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml
render_placeholder_message_test.routing.yml file core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.routing.yml core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.routing.yml

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