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
RendererTestBase::$placeholderGenerator property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The tested placeholder generator.
RenderPlaceholderMessageTestController class core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController.php file core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::build function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::create function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php Instantiates a new instance of this class.
RenderPlaceholderMessageTestController::messagesPlaceholderFirst function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::messagesPlaceholderLast function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::messagesPlaceholderMiddle function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::queuedMessages function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RenderPlaceholderMessageTestController::setAndLogMessage function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php #lazy_builder callback; sets and prints a message.
RenderPlaceholderMessageTestController::trustedCallbacks function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php Lists the trusted callbacks provided by the implementing class.
RenderPlaceholderMessageTestController::__construct function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php Constructs a new RenderPlaceholderMessageTestController object.
render_placeholder_message_test.controller service core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.services.yml Drupal\render_placeholder_message_test\RenderPlaceholderMessageTestController
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
render_placeholder_message_test.services.yml file core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.services.yml core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.services.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.
TestPlaceholderingRenderCache class core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
TestPlaceholderingRenderCache::$placeholderElements property core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php The placeholder elements created during rendering.
TestPlaceholderingRenderCache::createPlaceholderAndRemember function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Create a placeholder for a renderable array and remember in a static cache.
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.
ValidationTestTrait::resolvePlaceholdersInArrayValuesWithRealPaths function core/modules/package_manager/tests/src/Traits/ValidationTestTrait.php Resolves <PROJECT_ROOT>, <VENDOR_DIR>, <STAGE_ROOT>, <STAGE_ROOT_PARENT>.
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.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.

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