Search for placeholder

  1. Search 7.x for placeholder
  2. Search 9.5.x for placeholder
  3. Search 10.3.x for placeholder
  4. Search 11.x for placeholder
  5. Other projects
Title Object type File name Summary
RenderPlaceholderMessageTestController::trustedCallbacks function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php Lists the trusted callbacks provided by the implementing class.
render_placeholder_generator service core/core.services.yml Drupal\Core\Render\PlaceholderGenerator
render_placeholder_message_test.info.yml file core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml
render_placeholder_message_test.routing.yml file core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.routing.yml core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.routing.yml
RouteProcessorCsrf::renderPlaceholderCsrfToken function core/lib/Drupal/Core/Access/RouteProcessorCsrf.php #lazy_builder callback; gets a CSRF token for the given path.
RouterTest::testControllerPlaceholders function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that placeholders in paths work correctly.
RouterTest::testControllerPlaceholdersDefaultValues function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that default placeholders in paths work correctly.
RouterTest::testControllerPlaceholdersDefaultValuesProvided function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that default placeholders in paths work correctly.
Schema::$placeholder property core/lib/Drupal/Core/Database/Schema.php The placeholder counter.
Schema::nextPlaceholder function core/lib/Drupal/Core/Database/Schema.php Returns the next placeholder ID for the query.
SelectExtender::$placeholder property core/lib/Drupal/Core/Database/Query/SelectExtender.php The placeholder counter.
SelectExtender::nextPlaceholder function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns the next placeholder ID for the query.
SingleFlushStrategy::processPlaceholders function core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php Processes placeholders to render them with different strategies.
Sql::placeholder function core/modules/views/src/Plugin/views/query/Sql.php Generates a unique placeholder used in the db query.
StandardJavascriptTest::assertBigPipePlaceholderReplacementCount function core/profiles/standard/tests/src/FunctionalJavascript/StandardJavascriptTest.php Asserts the number of BigPipe placeholders that are replaced on the page.
StatusMessages::generatePlaceholder function core/lib/Drupal/Core/Render/Element/StatusMessages.php #pre_render callback to generate a placeholder.
ThemeInitialization::resolveStyleSheetPlaceholders function core/lib/Drupal/Core/Theme/ThemeInitialization.php Gets CSS file where tokens have been resolved.
TranslationManagerTest::providerTestTranslatePlaceholder function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides test data for translate().
TranslationManagerTest::testTranslatePlaceholder function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Tests translation using placeholders.
TwigExtension::escapePlaceholder function core/lib/Drupal/Core/Template/TwigExtension.php Provides a placeholder wrapper around ::escapeFilter.
TwigThemeTestController::placeholderOutsideTransRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Controller for testing the twig placeholder filter outside of {% trans %}
twig_theme_test.placeholder_outside_trans.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.placeholder_outside_trans.html.twig Placeholder outside trans: {{ var | placeholder }}

{% trans %}
Placeholder inside trans: {{ var | placeholder }}
{% endtrans %}
UncacheableFieldHandlerTrait::getFieldTokenPlaceholder function core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php
UserLoginBlock::renderPlaceholderFormAction function core/modules/user/src/Plugin/Block/UserLoginBlock.php #lazy_builder callback; renders a form action URL including destination.
ViewExecutableTest::testGetUrlWithPathNoPlaceholders function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl
ViewExecutableTest::testGetUrlWithPlaceholdersAndArgs function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl
ViewExecutableTest::testGetUrlWithPlaceholdersAndWithoutArgs function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl
ViewExecutableTest::testGetUrlWithPlaceholdersAndWithoutArgsAndExceptionValue function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl
views.view.placeholder_text_test.yml file core/modules/views/tests/fixtures/update/views.view.placeholder_text_test.yml core/modules/views/tests/fixtures/update/views.view.placeholder_text_test.yml
views.view.test_filter_placeholder_text.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_placeholder_text.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_placeholder_text.yml
ViewsTestDataController::placeholderLazyBuilder function core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php #lazy_builder callback; for testing purposes only.
views_post_update_filter_placeholder_text function core/modules/views/views.post_update.php Add placeholder settings to string or numeric filters.
views_post_update_make_placeholders_translatable function core/modules/views/views.post_update.php Rebuild cache to allow placeholder texts to be translatable.

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