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 10.3.x for content
  5. Other projects
Title Object type File name Summary
AbstractOperation::$contents property composer/Plugin/Scaffold/Operations/AbstractOperation.php Cached contents of scaffold file to be written to disk.
AbstractOperation::contents function composer/Plugin/Scaffold/Operations/AbstractOperation.php Returns the exact data that will be written to the scaffold files.
AbstractOperation::generateContents function composer/Plugin/Scaffold/Operations/AbstractOperation.php Load the scaffold contents or otherwise generate what is needed.
AddModerationConfigActionTest::testWorkflowMustBeContentModeration function core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php
admin-block-content.html.twig file core/themes/claro/templates/admin/admin-block-content.html.twig Claro's theme implementation for the content of an administrative block.
admin-block-content.html.twig file core/themes/stable9/templates/admin/admin-block-content.html.twig Theme override for the content of an administrative block.
admin-block-content.html.twig file core/modules/system/templates/admin-block-content.html.twig Default theme implementation for the content of an administrative block.
AjaxTestController::dialogContents function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Example content for dialog testing.
AlterContentMiddleware class core/modules/system/tests/modules/http_middleware_test/src/StackMiddleware/AlterContentMiddleware.php Alters the response before content length is calculated.
AlterContentMiddleware.php file core/modules/system/tests/modules/http_middleware_test/src/StackMiddleware/AlterContentMiddleware.php
AlterContentMiddleware::handle function core/modules/system/tests/modules/http_middleware_test/src/StackMiddleware/AlterContentMiddleware.php
AlterContentMiddleware::__construct function core/modules/system/tests/modules/http_middleware_test/src/StackMiddleware/AlterContentMiddleware.php
Announcement::getContent function core/modules/announcements_feed/src/Announcement.php Returns the content of the announcement with no markup.
AnnounceRendererTest::testRendererContent function core/modules/announcements_feed/tests/src/Kernel/AnnounceRendererTest.php Tests rendered valid content.
AppendOp::$originalContents property composer/Plugin/Scaffold/Operations/AppendOp.php The contents from the file that we are prepending / appending to.
AppendOp::generateContents function composer/Plugin/Scaffold/Operations/AppendOp.php Load the scaffold contents or otherwise generate what is needed.
ArchiverInterface::listContents function core/lib/Drupal/Core/Archiver/ArchiverInterface.php Lists all files in the archive.
AssertContentTrait trait core/tests/Drupal/KernelTests/AssertContentTrait.php Provides test methods to assert content.
AssertContentTrait.php file core/tests/Drupal/KernelTests/AssertContentTrait.php
AssertContentTrait::$content property core/tests/Drupal/KernelTests/AssertContentTrait.php The current raw content.
AssertContentTrait::$drupalSettings property core/tests/Drupal/KernelTests/AssertContentTrait.php The drupalSettings value from the current raw $content.
AssertContentTrait::$elements property core/tests/Drupal/KernelTests/AssertContentTrait.php The XML structure parsed from the current raw $content.
AssertContentTrait::$plainTextContent property core/tests/Drupal/KernelTests/AssertContentTrait.php The plain-text content of raw $content (text nodes).
AssertContentTrait::assertEscaped function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the raw text IS found escaped on the loaded page, fail otherwise.
AssertContentTrait::assertField function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists with the given name or ID.
AssertContentTrait::assertFieldById function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists with the given ID and value.
AssertContentTrait::assertFieldByName function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists with the given name and value.
AssertContentTrait::assertFieldByXPath function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists in the current page by the given XPath.
AssertContentTrait::assertFieldChecked function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a checkbox field in the current page is checked.
AssertContentTrait::assertFieldsByValue function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists in the current page with a given Xpath result.
AssertContentTrait::assertLink function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link with the specified label is found.
AssertContentTrait::assertLinkByHref function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link containing a given href (part) is found.
AssertContentTrait::assertNoDuplicateIds function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that each HTML ID is used for just a single element.
AssertContentTrait::assertNoEscaped function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if raw text IS NOT found escaped on loaded page, fail otherwise.
AssertContentTrait::assertNoField function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist with the given name or ID.
AssertContentTrait::assertNoFieldById function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist with the given ID and value.
AssertContentTrait::assertNoFieldByName function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist with the given name and value.
AssertContentTrait::assertNoFieldByXPath function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist or its value does not match, by XPath.
AssertContentTrait::assertNoFieldChecked function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a checkbox field in the current page is not checked.
AssertContentTrait::assertNoLink function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link with the specified label is not found.
AssertContentTrait::assertNoLinkByHref function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link containing a given href (part) is not found.
AssertContentTrait::assertNoLinkByHrefInMainRegion function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link containing a given href is not found in the main region.
AssertContentTrait::assertNoOption function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page does not exist.
AssertContentTrait::assertNoOptionSelected function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page is not checked.
AssertContentTrait::assertNoPattern function core/tests/Drupal/KernelTests/AssertContentTrait.php Triggers a pass if the perl regex pattern is not found in raw content.
AssertContentTrait::assertNoRaw function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the raw text is NOT found on the loaded page, fail otherwise.
AssertContentTrait::assertNoText function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the page (with HTML stripped) does not contains the text.
AssertContentTrait::assertNoTitle function core/tests/Drupal/KernelTests/AssertContentTrait.php Pass if the page title is not the given string.
AssertContentTrait::assertNoUniqueText function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the text is found MORE THAN ONCE on the text version of the page.
AssertContentTrait::assertOption function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page exists.

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