Search for placeholder

  1. Search 7.x for placeholder
  2. Search 9.5.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
PlaceholdersTest::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Lists the trusted callbacks provided by the implementing class.
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.
PlaceholderTextUpdateTest class core/modules/views/tests/src/Functional/Update/PlaceholderTextUpdateTest.php Tests the upgrade path for placeholder text.
PlaceholderTextUpdateTest.php file core/modules/views/tests/src/Functional/Update/PlaceholderTextUpdateTest.php
PlaceholderTextUpdateTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/PlaceholderTextUpdateTest.php Set database dump files to be used.
PlaceholderTextUpdateTest::testViewsPostUpdatePlaceholderText function core/modules/views/tests/src/Functional/Update/PlaceholderTextUpdateTest.php Tests that boolean filter values are updated properly.
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
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::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 Create an element with a child and subchild. Each element has the same
#lazy_builder callback, but with different contexts. They don't modify
markup, only attach additional drupalSettings.
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.

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