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
BlockPluginInterface::createPlaceholder function core/lib/Drupal/Core/Block/BlockPluginInterface.php Whether to render blocks in a placeholder.
BlockPluginTrait::createPlaceholder function core/lib/Drupal/Core/Block/BlockPluginTrait.php
CachedStrategy::processNestedPlaceholders function core/lib/Drupal/Core/Render/Placeholder/CachedStrategy.php Fetch any nested placeholders from cache.
CachedStrategy::processPlaceholders function core/lib/Drupal/Core/Render/Placeholder/CachedStrategy.php Processes placeholders to render them with different strategies.
ChainedPlaceholderStrategy class core/lib/Drupal/Core/Render/Placeholder/ChainedPlaceholderStrategy.php Renders placeholders using a chain of placeholder strategies.
ChainedPlaceholderStrategy.php file core/lib/Drupal/Core/Render/Placeholder/ChainedPlaceholderStrategy.php
ChainedPlaceholderStrategy::$placeholderStrategies property core/lib/Drupal/Core/Render/Placeholder/ChainedPlaceholderStrategy.php An ordered list of placeholder strategy services.
ChainedPlaceholderStrategy::addPlaceholderStrategy function core/lib/Drupal/Core/Render/Placeholder/ChainedPlaceholderStrategy.php Adds a placeholder strategy to use.
ChainedPlaceholderStrategy::processPlaceholders function core/lib/Drupal/Core/Render/Placeholder/ChainedPlaceholderStrategy.php Processes placeholders to render them with different strategies.
Condition::$queryPlaceholderIdentifier property core/lib/Drupal/Core/Database/Query/Condition.php The query placeholder identifier this condition has been compiled against.
Connection::$tablePlaceholderReplacements property core/lib/Drupal/Core/Database/Connection.php Replacements to fully qualify {table} placeholders in SQL strings.
CreateForEachBundle::BUNDLE_PLACEHOLDER constant core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php The placeholder which is replaced with the ID of the current bundle.
CreateForEachBundle::LABEL_PLACEHOLDER constant core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php The placeholder which is replaced with the label of the current bundle.
CreateForEachBundle::replacePlaceholders function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php Replaces placeholders recursively.
FormattableMarkup::placeholderEscape function core/lib/Drupal/Component/Render/FormattableMarkup.php Escapes a placeholder replacement value if needed.
FormattableMarkup::placeholderFormat function core/lib/Drupal/Component/Render/FormattableMarkup.php Replaces placeholders in a string with values.
FormBuilder::renderFormTokenPlaceholder function core/lib/Drupal/Core/Form/FormBuilder.php Renders the form CSRF token. It's a #lazy_builder callback.
FormBuilder::renderPlaceholderFormAction function core/lib/Drupal/Core/Form/FormBuilder.php Renders a form action URL. It's a #lazy_builder callback.
HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Renders HTML response attachment placeholders.
HtmlResponseAttachmentsProcessor::renderPlaceholders function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Renders placeholders (#attached['placeholders']).
HtmlResponsePlaceholderStrategySubscriber class core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php HTML response subscriber to allow for different placeholder strategies.
HtmlResponsePlaceholderStrategySubscriber.php file core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php
HtmlResponsePlaceholderStrategySubscriber::$placeholderStrategy property core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php The placeholder strategy to use.
HtmlResponsePlaceholderStrategySubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php
HtmlResponsePlaceholderStrategySubscriber::onRespond function core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php Processes placeholders for HTML responses.
HtmlResponsePlaceholderStrategySubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php Constructs a HtmlResponsePlaceholderStrategySubscriber object.
InsertTrait::getInsertPlaceholderFragment function core/lib/Drupal/Core/Database/Query/InsertTrait.php Returns the query placeholders for values that will be inserted.
LocalActionsBlock::createPlaceholder function core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php
LocalTasksBlock::createPlaceholder function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
LogMessageParser::parseMessagePlaceholders function core/lib/Drupal/Core/Logger/LogMessageParser.php Parses and transforms message and its placeholders to a common format.
LogMessageParserInterface::parseMessagePlaceholders function core/lib/Drupal/Core/Logger/LogMessageParserInterface.php Parses and transforms message and its placeholders to a common format.
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.
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.

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