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
argument-placeholder.php file core/modules/views/tests/fixtures/update/argument-placeholder.php Text fixture.
ArgumentPlaceholderUpdatePathTest class core/modules/views/tests/src/Functional/Update/ArgumentPlaceholderUpdatePathTest.php Tests the argument placeholder update path.
ArgumentPlaceholderUpdatePathTest.php file core/modules/views/tests/src/Functional/Update/ArgumentPlaceholderUpdatePathTest.php
ArgumentPlaceholderUpdatePathTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/ArgumentPlaceholderUpdatePathTest.php Set database dump files to be used.
ArgumentPlaceholderUpdatePathTest::testArgumentPlaceholderUpdate function core/modules/views/tests/src/Functional/Update/ArgumentPlaceholderUpdatePathTest.php Ensures that %1 and !1 are converted to twig tokens in existing views.
BigPipe::getPlaceholderOrder function core/modules/big_pipe/src/Render/BigPipe.php Gets the BigPipe placeholder order.
BigPipe::renderPlaceholder function core/modules/big_pipe/src/Render/BigPipe.php Renders a placeholder, and just that placeholder.
BigPipe::sendNoJsPlaceholders function core/modules/big_pipe/src/Render/BigPipe.php Sends no-JS BigPipe placeholders' replacements as embedded HTML responses.
BigPipe::sendPlaceholders function core/modules/big_pipe/src/Render/BigPipe.php Sends BigPipe placeholders' replacements as embedded AJAX responses.
BigPipe::splitHtmlOnPlaceholders function core/modules/big_pipe/src/Render/BigPipe.php Splits a HTML string into fragments.
BigPipePlaceholderTestCase class core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
BigPipePlaceholderTestCase::$bigPipeNoJsPlaceholder property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The expected BigPipe no-JS placeholder.
BigPipePlaceholderTestCase::$bigPipeNoJsPlaceholderRenderArray property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The corresponding expected BigPipe no-JS placeholder render array.
BigPipePlaceholderTestCase::$bigPipePlaceholderId property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The expected BigPipe placeholder ID.
BigPipePlaceholderTestCase::$bigPipePlaceholderRenderArray property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The corresponding expected BigPipe placeholder render array.
BigPipePlaceholderTestCase::$embeddedAjaxResponseCommands property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The corresponding expected embedded AJAX response.
BigPipePlaceholderTestCase::$embeddedHtmlResponse property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The corresponding expected embedded HTML response.
BigPipePlaceholderTestCase::$placeholder property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The expected corresponding placeholder string.
BigPipePlaceholderTestCase::$placeholderRenderArray property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The expected corresponding placeholder render array.
BigPipePlaceholderTestCase::$renderArray property core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php The original render array.
BigPipePlaceholderTestCase::__construct function core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
BigPipePlaceholderTestCases class core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php BigPipe placeholder test cases for use in both unit and integration tests.
BigPipePlaceholderTestCases.php file core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
BigPipePlaceholderTestCases::cases function core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php Gets all BigPipe placeholder test cases.
BigPipeRegressionTest::testPlaceholderInParagraph_2802923 function core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php Ensure default BigPipe placeholder HTML cannot split paragraphs.
BigPipeStrategy::createBigPipeJsPlaceholder function core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php Creates a BigPipe JS placeholder.
BigPipeStrategy::createBigPipeNoJsPlaceholder function core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php Creates a BigPipe no-JS placeholder.
BigPipeStrategy::doProcessPlaceholders function core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php Transforms placeholders to BigPipe placeholders, either no-JS or JS.
BigPipeStrategy::generateBigPipePlaceholderId function core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php Generates a BigPipe placeholder ID.
BigPipeStrategy::placeholderIsAttributeSafe function core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php Determines whether the given placeholder is attribute-safe or not.
BigPipeStrategy::processPlaceholders function core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php Processes placeholders to render them with different strategies.
BigPipeStrategyTest::placeholdersProvider function core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php
BigPipeStrategyTest::testProcessPlaceholders function core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php @covers ::processPlaceholders
BigPipeTest::assertBigPipeNoJsPlaceholders function core/modules/big_pipe/tests/src/Functional/BigPipeTest.php Asserts expected BigPipe no-JS placeholders are present and replaced.
BigPipeTest::assertBigPipePlaceholders function core/modules/big_pipe/tests/src/Functional/BigPipeTest.php Asserts expected BigPipe placeholders are present and replaced.
BigPipeTest::testBigPipeMultiOccurrencePlaceholders function core/modules/big_pipe/tests/src/Functional/BigPipeTest.php Tests BigPipe with a multi-occurrence placeholder.
BigPipeTestSubscriber::onRespondSetBigPipeDebugPlaceholderHeaders function core/modules/big_pipe/tests/modules/big_pipe_test/src/EventSubscriber/BigPipeTestSubscriber.php Exposes all BigPipe placeholders (JS and no-JS) via headers for testing.
BlockFormInBlockTest::testPlaceholders function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Test the actual placeholders
BubblingTest::bubblingPlaceholder function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php #lazy_builder callback for testBubblingWithPrerender().
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.
ChainedPlaceholderStrategyTest class core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php @coversDefaultClass \Drupal\Core\Render\Placeholder\ChainedPlaceholderStrategy
@group Render
ChainedPlaceholderStrategyTest.php file core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php
ChainedPlaceholderStrategyTest::providerProcessPlaceholders function core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php Provides a list of render strategies, placeholders and results.
ChainedPlaceholderStrategyTest::testProcessPlaceholders function core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php @covers ::addPlaceholderStrategy
@covers ::processPlaceholders
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

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