Search for content

  1. Search 7.x for content
  2. Search 8.9.x for content
  3. Search 10.3.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
ModerationStateNodeTypeTest::testEnablingOnExistingContent function core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php Tests enabling moderation on an existing node-type, with content.
ModerationStateTestBase::createContentTypeFromUi function core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php Creates a content-type from the UI.
ModerationStateTestBase::grantUserPermissionToCreateContentOfType function core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php Grants given user permission to create content of given type.
ModuleHandlerTest::testUninstallContentDependency function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests uninstalling a module that has content.
NegotiationMiddleware::getContentType function core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php Gets the normalized type of a request.
NegotiationMiddlewareTest::$contentNegotiation property core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php
NegotiationMiddlewareTest::testUnknownContentTypeButAjaxRequest function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php Tests the getContentType() method when no priority format is found but it's an AJAX request.
NegotiationMiddlewareTest::testUnknownContentTypeReturnsNull function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php Tests the getContentType() method when no priority format is found.
node.creating_content.html.twig file core/modules/help_topics/help_topics/node.creating_content.html.twig ---
label: 'Creating a content item'
related:
- node.overview
- node.creating_type
- path.creating_alias
---
{% set content_link_text %}
{% trans %}Content{% endtrans %}
{% endset %}
{% set content_link =…
NodeAccessFieldTest::$contentAdminUser property core/modules/node/tests/src/Functional/NodeAccessFieldTest.php A user with permission to manage content types and fields.
NodeAccessMenuLinkTest::$contentAdminUser property core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php A user with permission to manage menu links and create nodes.
NodeAdminTest::testContentAdminPages function core/modules/node/tests/src/Functional/NodeAdminTest.php Tests content overview with different user permissions.
NodeAdminTest::testContentAdminSort function core/modules/node/tests/src/Functional/NodeAdminTest.php Tests that the table sorting works on the content admin pages.
NodeContentTranslationUpdateTest class core/modules/node/tests/src/Functional/Update/NodeContentTranslationUpdateTest.php Tests updating to Drupal 9 with content-translation for author fields.
NodeContentTranslationUpdateTest.php file core/modules/node/tests/src/Functional/Update/NodeContentTranslationUpdateTest.php
NodeContentTranslationUpdateTest::setDatabaseDumpFiles function core/modules/node/tests/src/Functional/Update/NodeContentTranslationUpdateTest.php Set database dump files to be used.
NodeContentTranslationUpdateTest::testContentTranslationDefaultValueBaseFieldOverrideUpdates function core/modules/node/tests/src/Functional/Update/NodeContentTranslationUpdateTest.php Tests that content-translation base field overrides are updated.
NodeCreationTest::testNodeAddWithoutContentTypes function core/modules/node/tests/src/Functional/NodeCreationTest.php Check node/add when no node types exist.
NodeRSSContentTest class core/modules/node/tests/src/Functional/NodeRSSContentTest.php Ensures that data added to nodes by other modules appears in RSS feeds.
NodeRSSContentTest.php file core/modules/node/tests/src/Functional/NodeRSSContentTest.php
NodeRSSContentTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeRSSContentTest.php The theme to install as the default for testing.
NodeRSSContentTest::$modules property core/modules/node/tests/src/Functional/NodeRSSContentTest.php Enable a module that implements hook_node_view().
NodeRSSContentTest::setUp function core/modules/node/tests/src/Functional/NodeRSSContentTest.php
NodeRSSContentTest::testNodeRSSContent function core/modules/node/tests/src/Functional/NodeRSSContentTest.php Ensures that a new node includes the custom data when added to an RSS feed.
NodeRSSContentTest::testUrlHandling function core/modules/node/tests/src/Functional/NodeRSSContentTest.php Tests relative, root-relative, protocol-relative and absolute URLs.
NodeTypeTest::testNodeTypeNoContentType function core/modules/node/tests/src/Functional/NodeTypeTest.php Tests for when there are no content types defined.
OpenDialogCommand::$content property core/lib/Drupal/Core/Ajax/OpenDialogCommand.php The content for the dialog.
OperationFactory::hasContent function composer/Plugin/Scaffold/Operations/OperationFactory.php Checks to see if the specified scaffold file exists and has content.
OperationInterface::contents function composer/Plugin/Scaffold/Operations/OperationInterface.php Returns the exact data that will be written to the scaffold files.
PageCacheAcceptHeaderController::content function core/modules/system/tests/modules/system_test/src/Controller/PageCacheAcceptHeaderController.php Processes a request that will vary with Accept header.
PageTitleTest::$contentUser property core/modules/system/tests/src/Functional/System/PageTitleTest.php
PageVariantInterface::setMainContent function core/lib/Drupal/Core/Display/PageVariantInterface.php Sets the main content for the page being rendered.
PathAliasMenuLinkContentTest class core/modules/menu_link_content/tests/src/Kernel/PathAliasMenuLinkContentTest.php Ensures that the menu tree adapts to path alias changes.
PathAliasMenuLinkContentTest.php file core/modules/menu_link_content/tests/src/Kernel/PathAliasMenuLinkContentTest.php
PathAliasMenuLinkContentTest::$modules property core/modules/menu_link_content/tests/src/Kernel/PathAliasMenuLinkContentTest.php Modules to enable.
PathAliasMenuLinkContentTest::register function core/modules/menu_link_content/tests/src/Kernel/PathAliasMenuLinkContentTest.php Registers test-specific services.
PathAliasMenuLinkContentTest::setUp function core/modules/menu_link_content/tests/src/Kernel/PathAliasMenuLinkContentTest.php
PathAliasMenuLinkContentTest::testPathAliasChange function core/modules/menu_link_content/tests/src/Kernel/PathAliasMenuLinkContentTest.php Tests the path aliasing changing.
PathContentModerationTest class core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests path aliases with Content Moderation.
PathContentModerationTest.php file core/modules/path/tests/src/Functional/PathContentModerationTest.php
PathContentModerationTest::$defaultTheme property core/modules/path/tests/src/Functional/PathContentModerationTest.php The theme to install as the default for testing.
PathContentModerationTest::$modules property core/modules/path/tests/src/Functional/PathContentModerationTest.php Modules to install.
PathContentModerationTest::assertPathsAreAccessible function core/modules/path/tests/src/Functional/PathContentModerationTest.php Helper callback to verify paths are responding with status 200.
PathContentModerationTest::setUp function core/modules/path/tests/src/Functional/PathContentModerationTest.php
PathContentModerationTest::testNodePathAlias function core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests node path aliases on a moderated content type.
PathContentModerationTest::testTranslatedModeratedNodeAlias function core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests that translated and moderated node can get new draft revision.
PermissionsTest::testAccessContentPermission function core/modules/system/tests/src/Kernel/PermissionsTest.php Tests the 'access content' permission is provided by the System module.
PrepareModulesEntityUninstallForm::deleteContentEntities function core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php Deletes the content entities of the specified entity type.
PreviewToggleTrait::buildContentPreviewToggle function core/modules/layout_builder/src/Form/PreviewToggleTrait.php Builds the content preview toggle input.
QuickEditImageControllerTest::$contentAuthorUser property core/modules/quickedit/tests/src/Functional/QuickEditImageControllerTest.php A user with permissions to edit articles and use Quick Edit.

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