Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 8.9.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
AssertContentTrait::assertOptionByText function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option with the visible text exists.
AssertContentTrait::assertOptionSelected function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page is checked.
AssertContentTrait::assertOptionSelectedWithDrupalSelector function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page is checked.
AssertContentTrait::assertOptionWithDrupalSelector function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page exists.
AssertContentTrait::assertPattern function core/tests/Drupal/KernelTests/AssertContentTrait.php Triggers a pass if the Perl regex pattern is found in the raw content.
AssertContentTrait::assertRaw function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the raw text IS found on the loaded page, fail otherwise.
AssertContentTrait::assertText function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the page (with HTML stripped) contains the text.
AssertContentTrait::assertTextHelper function core/tests/Drupal/KernelTests/AssertContentTrait.php Helper for assertText and assertNoText.
AssertContentTrait::assertTextPattern function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a Perl regex pattern is found in the plain-text content.
AssertContentTrait::assertThemeOutput function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts themed output.
AssertContentTrait::assertTitle function core/tests/Drupal/KernelTests/AssertContentTrait.php Pass if the page title is the given string.
AssertContentTrait::assertUniqueText function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the text is found ONLY ONCE on the text version of the page.
AssertContentTrait::assertUniqueTextHelper function core/tests/Drupal/KernelTests/AssertContentTrait.php Helper for assertUniqueText and assertNoUniqueText.
AssertContentTrait::buildXPathQuery function core/tests/Drupal/KernelTests/AssertContentTrait.php Builds an XPath query.
AssertContentTrait::constructFieldXpath function core/tests/Drupal/KernelTests/AssertContentTrait.php Helper: Constructs an XPath for the given set of attributes and value.
AssertContentTrait::cssSelect function core/tests/Drupal/KernelTests/AssertContentTrait.php Searches elements using a CSS selector in the raw content.
AssertContentTrait::getAllOptions function core/tests/Drupal/KernelTests/AssertContentTrait.php Get all option elements, including nested options, in a select.
AssertContentTrait::getDrupalSettings function core/tests/Drupal/KernelTests/AssertContentTrait.php Gets the value of drupalSettings for the currently-loaded page.
AssertContentTrait::getRawContent function core/tests/Drupal/KernelTests/AssertContentTrait.php Gets the current raw content.
AssertContentTrait::getSelectedItem function core/tests/Drupal/KernelTests/AssertContentTrait.php Get the selected value from a select field.
AssertContentTrait::getTextContent function core/tests/Drupal/KernelTests/AssertContentTrait.php Retrieves the plain-text content from the current raw content.
AssertContentTrait::parse function core/tests/Drupal/KernelTests/AssertContentTrait.php Parse content returned from curlExec using DOM and SimpleXML.
AssertContentTrait::removeWhiteSpace function core/tests/Drupal/KernelTests/AssertContentTrait.php Removes all white-space between HTML tags from the raw content.
AssertContentTrait::setDrupalSettings function core/tests/Drupal/KernelTests/AssertContentTrait.php Sets the value of drupalSettings for the currently-loaded page.
AssertContentTrait::setRawContent function core/tests/Drupal/KernelTests/AssertContentTrait.php Sets the raw content (e.g. HTML).
AssertContentTrait::xpath function core/tests/Drupal/KernelTests/AssertContentTrait.php Performs an xpath search on the contents of the internal browser.
AssertContentTraitTest class core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php @coversDefaultClass \Drupal\KernelTests\AssertContentTrait
@group Test
AssertContentTraitTest.php file core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php
AssertContentTraitTest::testGetTextContent function core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php @covers ::getTextContent
AssetControllerBase::$contentType property core/modules/system/src/Controller/AssetControllerBase.php The asset aggregate content type to send as Content-Type header.
big-pipe-test-large-content.html.twig file core/modules/big_pipe/tests/modules/big_pipe_regression_test/templates/big-pipe-test-large-content.html.twig <div id="big-pipe-large-content">
{% for i in 0..130000 %}
boing
{% endfor %}
</div>
BigPipe::sendContent function core/modules/big_pipe/src/Render/BigPipe.php Sends an HTML response in chunks using the BigPipe technique.
BigPipeRegressionTest::doTestBigPipeLargeContent function core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php Tests BigPipe large content.
BigPipeRegressionTestController::largeContent function core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php A page with large content.
BigPipeRegressionTestController::largeContentBuilder function core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php Renders large content.
BigPipeResponse::sendContent function core/modules/big_pipe/src/Render/BigPipeResponse.php
BigPipeTestSubscriber::CONTENT_TRIGGER_EXCEPTION constant core/modules/big_pipe/tests/modules/big_pipe_test/src/EventSubscriber/BigPipeTestSubscriber.php
BinaryFileResponseTest::providerTestCalculatedContentType function core/tests/Drupal/KernelTests/Core/Http/BinaryFileResponseTest.php Data provider of file names and expected content-type values.
BinaryFileResponseTest::testCalculatedContentType function core/tests/Drupal/KernelTests/Core/Http/BinaryFileResponseTest.php Test the content type generated by Drupal is correct.
block-content-add-list.html.twig file core/modules/block_content/templates/block-content-add-list.html.twig Default theme implementation to present a list of block types.
block-content-add-list.html.twig file core/themes/claro/templates/block-content-add-list.html.twig Claro's theme implementation to display a list of content block types.
block-content-add-list.html.twig file core/themes/stable9/templates/admin/block-content-add-list.html.twig Theme override to present a list of content block types.
block.block.claro_content.yml file core/themes/claro/config/optional/block.block.claro_content.yml core/themes/claro/config/optional/block.block.claro_content.yml
block.block.olivero_content.yml file core/themes/olivero/config/optional/block.block.olivero_content.yml core/themes/olivero/config/optional/block.block.olivero_content.yml
block.block.umami_content.yml file core/profiles/demo_umami/config/install/block.block.umami_content.yml core/profiles/demo_umami/config/install/block.block.umami_content.yml
BlockContent class core/modules/block_content/src/Entity/BlockContent.php Defines the content block entity class.
BlockContent class core/modules/block_content/src/Plugin/views/wizard/BlockContent.php Used for creating 'block_content' views with the wizard.
BlockContent class core/modules/block_content/src/Plugin/Derivative/BlockContent.php Retrieves block plugin definitions for all content blocks.
BlockContent.php file core/modules/block_content/src/Entity/BlockContent.php
BlockContent.php file core/modules/block_content/src/Plugin/views/wizard/BlockContent.php

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