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
ChainedPlaceholderStrategyTest::testProcessPlaceholdersNoStrategies function core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php @covers ::processPlaceholders
ChainedPlaceholderStrategyTest::testProcessPlaceholdersWithRoguePlaceholderStrategy function core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php @covers ::processPlaceholders
ClaroPreRender::messagePlaceholder function core/themes/claro/src/ClaroPreRender.php Prerender callback for status_messages placeholder.
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.
ContextualDynamicContextTest::assertContextualLinkPlaceHolder function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Asserts that a contextual link placeholder with the given id exists.
ContextualDynamicContextTest::assertNoContextualLinkPlaceHolder function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Asserts that a contextual link placeholder with a given id does not exist.
ContextualLinksPlaceholder class core/modules/contextual/src/Element/ContextualLinksPlaceholder.php Provides a contextual_links_placeholder element.
ContextualLinksPlaceholder.php file core/modules/contextual/src/Element/ContextualLinksPlaceholder.php
ContextualLinksPlaceholder::getInfo function core/modules/contextual/src/Element/ContextualLinksPlaceholder.php
ContextualLinksPlaceholder::preRenderPlaceholder function core/modules/contextual/src/Element/ContextualLinksPlaceholder.php Pre-render callback: Renders a contextual links placeholder into #markup.
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.
DbLogTest::testInvalidPlaceholders function core/modules/dblog/tests/src/Kernel/DbLogTest.php Tests that only valid placeholders are stored in the variables column.
DynamicPluginConfigWithCsrfTokenUrlTrait::getUrlWithReplacedCsrfTokenPlaceholder function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/DynamicPluginConfigWithCsrfTokenUrlTrait.php Gets the given URL with all placeholders replaced.
ElementTest::testPlaceHolderText function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests placeholder text for elements that support placeholders.
EntityAccessCheckTest::testAccessWithTypePlaceholder function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php @covers ::access
EntityFormDisplayValidationTest::testMultilineTextFieldWidgetPlaceholder function core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Tests validation of entity form display component's widget settings.
EntityTest::testCalculateDependenciesWithPlaceholder function core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php @covers ::calculateDependencies
ExtraFieldBlock::replaceFieldPlaceholder function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Replaces all placeholders for a given field.
FiberPlaceholderTest class core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php @coversDefaultClass \Drupal\big_pipe\Render\BigPipe
@group big_pipe
FiberPlaceholderTest.php file core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php
FiberPlaceholderTest::testLongPlaceholderFiberSuspendingLoop function core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php @covers \Drupal\big_pipe\Render\BigPipe::sendPlaceholders
FieldPluginBase::getFieldTokenPlaceholder function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns a token placeholder for the current field.
FieldTest::getPlaceholder function core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php A mock function which allows to call placeholder from public.
FilterPlaceholderTextTest class core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php Tests the placeholder text on the appropriate filter handlers.
FilterPlaceholderTextTest.php file core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php
FilterPlaceholderTextTest::$defaultTheme property core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php
FilterPlaceholderTextTest::$modules property core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php
FilterPlaceholderTextTest::$testViews property core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php Views used by this test.
FilterPlaceholderTextTest::testPlaceholderText function core/modules/views/tests/src/Functional/Handler/FilterPlaceholderTextTest.php Tests that HTML placeholders are added, when appropriate.
FilterProcessResult::createPlaceholder function core/modules/filter/src/FilterProcessResult.php Creates a placeholder.
FilterTestPlaceholders class core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php Provides a test filter to use placeholders.
FilterTestPlaceholders.php file core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php
FilterTestPlaceholders::process function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php
FilterTestPlaceholders::renderDynamicThing function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php Render API callback: Builds a render array containing the dynamic thing.
FilterTestPlaceholders::renderStaticThing function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php Render API callback: Builds a render array.
FilterTestPlaceholders::trustedCallbacks function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php
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.
FormattableMarkupTest::providerTestUnexpectedPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Data provider for FormattableMarkupTest::testUnexpectedPlaceholder().
FormattableMarkupTest::testUnexpectedPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString
@dataProvider providerTestUnexpectedPlaceholder
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.
FormTestPlaceholderForm class core/modules/system/tests/modules/form_test/src/Form/FormTestPlaceholderForm.php Builds a form to test the placeholder attribute.
FormTestPlaceholderForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestPlaceholderForm.php
FormTestPlaceholderForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestPlaceholderForm.php
FormTestPlaceholderForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestPlaceholderForm.php
FormTestPlaceholderForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestPlaceholderForm.php

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