Search for placeholder
- Search 7.x for placeholder
- Search 8.9.x for placeholder
- Search 10.3.x for placeholder
- Search 11.x for placeholder
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
PlaceholderStrategyInterface | interface | core/ |
Provides an interface for defining a placeholder strategy service. |
PlaceholderStrategyInterface.php | file | core/ |
|
PlaceholderStrategyInterface::processPlaceholders | function | core/ |
Processes placeholders to render them with different strategies. |
placeholder_strategy | service | core/ |
Drupal\Core\Render\Placeholder\ChainedPlaceholderStrategy |
placeholder_strategy.big_pipe | service | core/ |
Drupal\big_pipe\Render\Placeholder\BigPipeStrategy |
placeholder_strategy.single_flush | service | core/ |
Drupal\Core\Render\Placeholder\SingleFlushStrategy |
Query::$nextPlaceholder | property | core/ |
The placeholder counter. |
Query::nextPlaceholder | function | core/ |
Gets the next placeholder value for this query object. |
RecursivePlaceholdersTest | class | core/ |
|
RecursivePlaceholdersTest::callback | function | core/ |
#lazy_builder callback; bubbles another placeholder. |
RecursivePlaceholdersTest::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
Renderer::$placeholderGenerator | property | core/ |
The placeholder generator. |
Renderer::renderPlaceholder | function | core/ |
Renders final HTML for a placeholder. |
Renderer::replacePlaceholders | function | core/ |
Replaces placeholders. |
RendererInterface::renderPlaceholder | function | core/ |
Renders final HTML for a placeholder. |
RendererPlaceholdersTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Renderer @covers \Drupal\Core\Render\RenderCache @covers \Drupal\Core\Render\PlaceholderingRenderCache @group Render |
RendererPlaceholdersTest.php | file | core/ |
Contains \Drupal\Tests\Core\Render\RendererPlaceholdersTest. |
RendererPlaceholdersTest::assertPlaceholderRenderCache | function | core/ |
@internal |
RendererPlaceholdersTest::generatePlaceholderElement | function | core/ |
Generates an element with a placeholder. |
RendererPlaceholdersTest::generatePlaceholdersWithChildrenTestElement | function | core/ |
Generates an element with placeholders at 3 levels. |
RendererPlaceholdersTest::providerPlaceholders | function | core/ |
Provides the two classes of placeholders: cacheable and uncacheable. |
RendererPlaceholdersTest::setUp | function | core/ |
|
RendererPlaceholdersTest::setupThemeManagerForDetails | function | core/ |
|
RendererPlaceholdersTest::testCacheableParent | function | core/ |
@covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set @covers \Drupal\Core\Render\RenderCache::createCacheID |
RendererPlaceholdersTest::testCacheableParentWithPostRequest | function | core/ |
@covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers ::replacePlaceholders |
RendererPlaceholdersTest::testChildrenPlusBuilder | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testCreatePlaceholderPropertyWithoutLazyBuilder | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testInvalidLazyBuilder | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testInvalidLazyBuilderArguments | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testNonArrayReturnFromLazyBuilder | function | core/ |
Tests that an error is thrown if a lazy builder doesn't return an array. |
RendererPlaceholdersTest::testNonScalarLazybuilderCallbackContext | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testPlaceholderingDisabledForPostRequests | function | core/ |
@covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\PlaceholderingRenderCache::get @covers \Drupal\Core\Render\PlaceholderingRenderCache::set @covers ::replacePlaceholders |
RendererPlaceholdersTest::testPropertiesPlusBuilder | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testRecursivePlaceholder | function | core/ |
Tests a placeholder that adds another placeholder. |
RendererPlaceholdersTest::testRenderChildrenPlaceholdersDifferentArguments | function | core/ |
Tests the creation of an element with a child and a sub-child. |
RendererPlaceholdersTest::testScalarLazybuilderCallbackContext | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testUncacheableParent | function | core/ |
@covers ::render @covers ::doRender |
RendererTestBase::$placeholderGenerator | property | core/ |
The tested placeholder generator. |
RenderPlaceholderMessageTestController | class | core/ |
|
RenderPlaceholderMessageTestController.php | file | core/ |
|
RenderPlaceholderMessageTestController::build | function | core/ |
|
RenderPlaceholderMessageTestController::messagesPlaceholderFirst | function | core/ |
|
RenderPlaceholderMessageTestController::messagesPlaceholderLast | function | core/ |
|
RenderPlaceholderMessageTestController::messagesPlaceholderMiddle | function | core/ |
|
RenderPlaceholderMessageTestController::queuedMessages | function | core/ |
|
RenderPlaceholderMessageTestController::setAndLogMessage | function | core/ |
#lazy_builder callback; sets and prints a message. |
RenderPlaceholderMessageTestController::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
render_placeholder_generator | service | core/ |
Drupal\Core\Render\PlaceholderGenerator |
render_placeholder_message_test.info.yml | file | core/ |
core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml |
render_placeholder_message_test.routing.yml | file | core/ |
core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.routing.yml |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.