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
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.
NavigationContentLinks class core/modules/navigation/src/NavigationContentLinks.php Build the menu links for the Content menu.
NavigationContentLinks.php file core/modules/navigation/src/NavigationContentLinks.php
NavigationContentLinks::addCreateEntityLinks function core/modules/navigation/src/NavigationContentLinks.php Add create links for an entity type.
NavigationContentLinks::addLink function core/modules/navigation/src/NavigationContentLinks.php Ensure a route exists and add the link.
NavigationContentLinks::addMenuLinks function core/modules/navigation/src/NavigationContentLinks.php Add links to the Content menu, based on enabled modules.
NavigationContentLinks::create function core/modules/navigation/src/NavigationContentLinks.php Instantiates a new instance of this class.
NavigationContentLinks::removeAdminContentLink function core/modules/navigation/src/NavigationContentLinks.php Remove the admin/content link, and any direct children.
NavigationContentLinks::removeHelpLink function core/modules/navigation/src/NavigationContentLinks.php Remove the help link as render it outside any menu.
NavigationContentLinks::__construct function core/modules/navigation/src/NavigationContentLinks.php Construct a new NavigationContentLinks object.
NavigationRenderer::$contentEntityPaths property core/modules/navigation/src/NavigationRenderer.php A list of all the link paths of enabled content entities.
NavigationRenderer::getContentEntityPaths function core/modules/navigation/src/NavigationRenderer.php Returns the paths for the link templates of all content entities.
NavigationRenderer::getContentEntityTypePaths function core/modules/navigation/src/NavigationRenderer.php Returns the path for the link template for a given content entity type.
NavigationRenderer::meetsContentEntityRoutesCondition function core/modules/navigation/src/NavigationRenderer.php Determines if content entity route condition is met.
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/node/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::testContentAdminPageMultilingual function core/modules/node/tests/src/Functional/NodeAdminTest.php Tests content overview for a multilingual site.
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.
NodeCreationTest::testNodeAddWithoutContentTypes function core/modules/node/tests/src/Functional/NodeCreationTest.php Check node/add when no node types exist.
NodeRssCacheTest::testNodeRssCacheContent function core/modules/node/tests/src/Functional/NodeRssCacheTest.php Ensure the RSS teaser render does not interfere with default theme cache.
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.
NodeTranslationUITest::testUrlPrefixOnLanguageNeutralContent function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Test that when content is language neutral, it uses interface language.
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 install.
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.

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