Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 11.x for on
  5. Other projects
Title Object type File name Summary
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[[api-linebreak]]
@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[[api-linebreak]]
AssertPageCacheContextsAndTagsTrait trait core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Provides test assertions for testing page-level cache contexts & tags.
AssertPageCacheContextsAndTagsTrait.php file core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
AssertPageCacheContextsAndTagsTrait::assertCacheContext function core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Asserts whether an expected cache context was present in the last response.
AssertPageCacheContextsAndTagsTrait::assertCacheContexts function core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Ensures that some cache contexts are present in the current response.
AssertPageCacheContextsAndTagsTrait::assertCacheMaxAge function core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Asserts the max age header.
AssertPageCacheContextsAndTagsTrait::assertCacheTags function core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Ensures that some cache tags are present in the current response.
AssertPageCacheContextsAndTagsTrait::assertNoCacheContext function core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Asserts that a cache context was not present in the last response.
AssertPageCacheContextsAndTagsTrait::assertPageCacheContextsAndTags function core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Asserts page cache miss, then hit for the given URL; checks cache headers.
AssertPageCacheContextsAndTagsTrait::enablePageCaching function core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Enables page caching.
AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues function core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Gets a specific header value as array.
AssertUtilsTrait::assertScaffoldedFileDoesNotContain function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/AssertUtilsTrait.php Asserts that a file does not exist or exists and does not contain a value.
asset.css.collection_grouper service core/core.services.yml Drupal\Core\Asset\CssCollectionGrouper
asset.css.collection_optimizer service core/core.services.yml Drupal\Core\Asset\CssCollectionOptimizerLazy
asset.css.collection_renderer service core/core.services.yml Drupal\Core\Asset\CssCollectionRenderer
asset.js.collection_grouper service core/core.services.yml Drupal\Core\Asset\JsCollectionGrouper
asset.js.collection_optimizer service core/core.services.yml Drupal\Core\Asset\JsCollectionOptimizerLazy
asset.js.collection_renderer service core/core.services.yml Drupal\Core\Asset\JsCollectionRenderer
AssetAggregationAcrossPagesTest class core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php Tests demo_umami profile performance.
AssetAggregationAcrossPagesTest.php file core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php
AssetAggregationAcrossPagesTest::$profile property core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php The profile to install as a basis for testing.
AssetAggregationAcrossPagesTest::doRequests function core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php Helper to do requests so the above test methods stay in sync.
AssetAggregationAcrossPagesTest::testFrontAndRecipesPages function core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php Checks the asset requests made when the front and recipe pages are visited.
AssetAggregationAcrossPagesTest::testFrontAndRecipesPagesAuthenticated function core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php Checks the asset requests made when the front and recipe pages are visited.
AssetCollectionGrouperInterface interface core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php Interface defining a service that logically groups a collection of assets.
AssetCollectionGrouperInterface.php file core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php
AssetCollectionGrouperInterface::group function core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php Groups a collection of assets into logical groups of asset collections.

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