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 10.3.x for placeholder
  5. Other projects
Title Object type File name Summary
NamedPlaceholderConverterTest class core/modules/mysqli/tests/src/Unit/NamedPlaceholderConverterTest.php Tests \Drupal\mysqli\Driver\Database\mysqli\NamedPlaceholderConverter.
NamedPlaceholderConverterTest.php file core/modules/mysqli/tests/src/Unit/NamedPlaceholderConverterTest.php
NamedPlaceholderConverterTest::statementsWithParametersProvider function core/modules/mysqli/tests/src/Unit/NamedPlaceholderConverterTest.php Data for testParse.
NamedPlaceholderConverterTest::testParse function core/modules/mysqli/tests/src/Unit/NamedPlaceholderConverterTest.php Tests ::parse().
NamedPlaceholderConverterTest::testParseReuseObject function core/modules/mysqli/tests/src/Unit/NamedPlaceholderConverterTest.php Tests reusing the parser object.
OliveroPreRender::messagePlaceholder function core/themes/olivero/src/OliveroPreRender.php Prerender callback for status_messages placeholder.
PlaceholderGenerator class core/lib/Drupal/Core/Render/PlaceholderGenerator.php Turns a render array into a placeholder.
PlaceholderGenerator.php file core/lib/Drupal/Core/Render/PlaceholderGenerator.php
PlaceholderGenerator::$cacheContextsManager property core/lib/Drupal/Core/Render/PlaceholderGenerator.php The cache contexts manager service.
PlaceholderGenerator::$rendererConfig property core/lib/Drupal/Core/Render/PlaceholderGenerator.php The renderer configuration array.
PlaceholderGenerator::canCreatePlaceholder function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Analyzes whether the given render array can be placeholdered.
PlaceholderGenerator::createPlaceholder function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Turns the given element into a placeholder.
PlaceholderGenerator::createPlaceholderTag function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Generates a placeholder HTML tag.
PlaceholderGenerator::shouldAutomaticallyPlaceholder function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Whether the given render array should be automatically placeholdered.
PlaceholderGenerator::__construct function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Constructs a new Placeholder service.
PlaceholderGeneratorInterface interface core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Defines an interface for turning a render array into a placeholder.
PlaceholderGeneratorInterface.php file core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php
PlaceholderGeneratorInterface::canCreatePlaceholder function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Analyzes whether the given render array can be placeholdered.
PlaceholderGeneratorInterface::createPlaceholder function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Turns the given element into a placeholder.
PlaceholderGeneratorInterface::createPlaceholderTag function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Generates a placeholder HTML tag.
PlaceholderGeneratorInterface::shouldAutomaticallyPlaceholder function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Whether the given render array should be automatically placeholdered.
PlaceholderGeneratorTest class core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php @coversDefaultClass \Drupal\Core\Render\PlaceholderGenerator[[api-linebreak]]
@group Render
PlaceholderGeneratorTest.php file core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
PlaceholderGeneratorTest::$placeholderGenerator property core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php The tested placeholder generator.
PlaceholderGeneratorTest::providerCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
PlaceholderGeneratorTest::testCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php Ensure that the generated placeholder markup is valid.
PlaceholderGeneratorTest::testRenderPlaceholdersDifferentSortedContextsTags function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php Tests the creation of an element with a #lazy_builder callback.
PlaceholderingRenderCache class core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Adds automatic placeholdering to the RenderCache.
PlaceholderingRenderCache.php file core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php
PlaceholderingRenderCache::$placeholderResultsCache property core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Stores rendered results for automatically placeholdered elements.
PlaceholderingRenderCache::createPlaceholderAndRemember function core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Create a placeholder for a renderable array and remember in a static cache.
PlaceholderingRenderCache::get function core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Gets the cached, pre-rendered element of a renderable element from cache.
PlaceholderingRenderCache::getFromPlaceholderResultsCache function core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Retrieves an auto-placeholdered renderable array from the static cache.
PlaceholderingRenderCache::set function core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Caches the rendered output of a renderable array.
PlaceholderingRenderCache::__construct function core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Constructs a new PlaceholderingRenderCache object.
PlaceholderInterface interface core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php Interface for a query that accepts placeholders.
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 Placeholders test class with implemented trusted callbacks.
PlaceholdersTest::callback function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Render API callback: Attaches setting and 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 The #lazy_builder callback; attaches setting, generates markup, user-specific.
PlaceholdersTest::callbackTagCurrentTemperature function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The #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.

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