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
FormTestPlaceholderForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestPlaceholderForm.php Form submission handler.
HandlerBase::placeholder function core/modules/views/src/Plugin/views/HandlerBase.php Provides a unique placeholders for handlers.
HandlerTest::testPlaceholder function core/modules/views/tests/src/Functional/Handler/HandlerTest.php Tests the placeholder function.
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.
html_response.placeholder_strategy_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\HtmlResponsePlaceholderStrategySubscriber
InsertTrait::getInsertPlaceholderFragment function core/lib/Drupal/Core/Database/Query/InsertTrait.php Returns the query placeholders for values that will be inserted.
LayoutBuilderBlocksTest::testBlockPlaceholder function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests the usage of placeholders for empty blocks.
LazyBuilderPlaceholderTest class core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Tests Fiber suspension within Twig templates during placeholder rendering.
LazyBuilderPlaceholderTest.php file core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php
LazyBuilderPlaceholderTest::$modules property core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Modules to install.
LazyBuilderPlaceholderTest::assertStringOrder function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Asserts the order of an array of strings inside a string.
LazyBuilderPlaceholderTest::buildRenderArray function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Builds a render array with placeholdered lazy builder callbacks.
LazyBuilderPlaceholderTest::lazyBuilderCallback function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Lazy builder callback.
LazyBuilderPlaceholderTest::setUp function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php
LazyBuilderPlaceholderTest::testNestedLazyBuilderPlaceholders function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Tests Fiber::suspend() during twig rendering via placeholders.
LazyBuilderPlaceholderTest::twigFiberSuspendLazyBuilderCallback function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Lazy builder callback with test template.
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.
LogMessageParserTest::providerTestParseMessagePlaceholders function core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php Data provider for testParseMessagePlaceholders().
LogMessageParserTest::testParseMessagePlaceholders function core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php Tests for LogMessageParserTrait::parseMessagePlaceholders()
ManyPlaceholderTest class core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php Tests Drupal\big_pipe\Render\BigPipe.
ManyPlaceholderTest.php file core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php
ManyPlaceholderTest::testManyNoJsPlaceHolders function core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php Tests many no js place holders.
ManyToOneHelper::placeholder function core/modules/views/src/ManyToOneHelper.php Provides a unique placeholders for handlers.
MenuRouterTest::doTestMenuOptionalPlaceholders function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests menu links that have optional placeholders.
NamedPlaceholderConverter class core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php A class to convert a SQL statement with named placeholders to positional.
NamedPlaceholderConverter.php file core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php
NamedPlaceholderConverter::$convertedParameters property core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php The list of converted arguments.
NamedPlaceholderConverter::$convertedSQL property core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php The converted SQL statement in its parts.
NamedPlaceholderConverter::$originalParameterIndex property core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php The maximum positional placeholder parsed.
NamedPlaceholderConverter::$originalParameters property core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php The list of original named arguments.
NamedPlaceholderConverter::$sqlPattern property core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php The combined regex pattern for parsing.
NamedPlaceholderConverter::addNamedParameter function core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php Adds a named placeholder to the converted parts.
NamedPlaceholderConverter::addOther function core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php Adds a generic SQL string fragment to the converted parts.
NamedPlaceholderConverter::addPositionalParameter function core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php Adds a positional placeholder to the converted parts.
NamedPlaceholderConverter::BACKTICK_IDENTIFIER constant core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php
NamedPlaceholderConverter::BRACKET_IDENTIFIER constant core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php
NamedPlaceholderConverter::getAnsiSQLStringLiteralPattern function core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php Helper to return a regex pattern from a delimiter character.
NamedPlaceholderConverter::getConvertedParameters function core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php Returns the array of arguments for use with positional placeholders.
NamedPlaceholderConverter::getConvertedSQL function core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php Returns the converted SQL statement with positional placeholders.
NamedPlaceholderConverter::MULTICHAR constant core/modules/mysqli/src/Driver/Database/mysqli/NamedPlaceholderConverter.php

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