Search for placeholder

  1. Search 7.x for placeholder
  2. Search 9.5.x for placeholder
  3. Search 8.9.x for placeholder
  4. Search 11.x for placeholder
  5. Other projects
Title Object type File name Summary
PlaceholderInterface.php file core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php
PlaceholderInterface::nextPlaceholder function core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php Returns the next placeholder ID for the query.
PlaceholderInterface::uniqueIdentifier function core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php Returns a unique identifier for this object.
PlaceholderMessageTest class core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php Functional test verifying that messages set in placeholders always appear.
PlaceholderMessageTest.php file core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
PlaceholderMessageTest::$defaultTheme property core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php The theme to install as the default for testing.
PlaceholderMessageTest::$modules property core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php Modules to install.
PlaceholderMessageTest::testMessagePlaceholder function core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php Tests rendering of message placeholder.
PlaceholdersTest class core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
PlaceholdersTest::callback function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php #lazy_builder callback; attaches setting, generates markup.
PlaceholdersTest::callbackNonArrayReturn function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php A lazy builder callback that returns an invalid renderable.
PlaceholdersTest::callbackPerUser function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php #lazy_builder callback; attaches setting, generates markup, user-specific.
PlaceholdersTest::callbackTagCurrentTemperature function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php #lazy_builder callback; attaches setting, generates markup, cache tag.
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.
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::doRenderPlaceholder function core/lib/Drupal/Core/Render/Renderer.php Renders a placeholder into markup.
Renderer::doReplacePlaceholder function core/lib/Drupal/Core/Render/Renderer.php Replaces a placeholder with its markup.
Renderer::renderPlaceholder function core/lib/Drupal/Core/Render/Renderer.php
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
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::generatePlaceholderWithLazyBuilderPreview function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with a lazy builder and preview.
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
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

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