Search for placeholder
- Search 7.x for placeholder
- Search 9.5.x for placeholder
- Search 8.9.x for placeholder
- Search 11.x for placeholder
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
PlaceholderInterface.php | file | core/ |
|
PlaceholderInterface::nextPlaceholder | function | core/ |
Returns the next placeholder ID for the query. |
PlaceholderInterface::uniqueIdentifier | function | core/ |
Returns a unique identifier for this object. |
PlaceholderMessageTest | class | core/ |
Functional test verifying that messages set in placeholders always appear. |
PlaceholderMessageTest.php | file | core/ |
|
PlaceholderMessageTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
PlaceholderMessageTest::$modules | property | core/ |
Modules to install. |
PlaceholderMessageTest::testMessagePlaceholder | function | core/ |
Tests rendering of message placeholder. |
PlaceholdersTest | class | core/ |
|
PlaceholdersTest::callback | function | core/ |
#lazy_builder callback; attaches setting, generates markup. |
PlaceholdersTest::callbackNonArrayReturn | function | core/ |
A lazy builder callback that returns an invalid renderable. |
PlaceholdersTest::callbackPerUser | function | core/ |
#lazy_builder callback; attaches setting, generates markup, user-specific. |
PlaceholdersTest::callbackTagCurrentTemperature | function | core/ |
#lazy_builder callback; attaches setting, generates markup, cache tag. |
PlaceholdersTest::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
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::doRenderPlaceholder | function | core/ |
Renders a placeholder into markup. |
Renderer::doReplacePlaceholder | function | core/ |
Replaces a placeholder with its markup. |
Renderer::renderPlaceholder | function | core/ |
|
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/ |
|
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::generatePlaceholderWithLazyBuilderPreview | function | core/ |
Generates an element with a lazy builder and preview. |
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 |
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 |
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.