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
LinkFieldUITest::$contentType property core/modules/link/tests/src/Functional/LinkFieldUITest.php The content type to add fields to.
LocalActionTest::testAddContentBlockLink function core/modules/block_content/tests/src/Functional/LocalActionTest.php Tests the block_content_add_action link.
LocaleContentTest class core/modules/locale/tests/src/Functional/LocaleContentTest.php Tests multilingual support for content types and individual nodes.
LocaleContentTest.php file core/modules/locale/tests/src/Functional/LocaleContentTest.php
LocaleContentTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleContentTest.php The theme to install as the default for testing.
LocaleContentTest::$modules property core/modules/locale/tests/src/Functional/LocaleContentTest.php Modules to install.
LocaleContentTest::testContentTypeDirLang function core/modules/locale/tests/src/Functional/LocaleContentTest.php Tests if a dir and lang tags exist in node's attributes.
LocaleContentTest::testContentTypeLanguageConfiguration function core/modules/locale/tests/src/Functional/LocaleContentTest.php Tests if a content type can be set to multilingual and language is present.
LocaleContentTest::testMachineNameLTR function core/modules/locale/tests/src/Functional/LocaleContentTest.php Verifies that machine name fields are always LTR.
logger.channel.default_content service core/core.services.yml
MainContentBlockPluginInterface interface core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php The interface for "main page content" blocks.
MainContentBlockPluginInterface.php file core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php
MainContentBlockPluginInterface::setMainContent function core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php Sets the main content render array.
MainContentFallbackTest class core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php Test SimplePageVariant main content rendering fallback page display variant.
MainContentFallbackTest.php file core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
MainContentFallbackTest::$adminUser property core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php The administrator user for the test.
MainContentFallbackTest::$defaultTheme property core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php The theme to install as the default for testing.
MainContentFallbackTest::$modules property core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php Modules to install.
MainContentFallbackTest::$webUser property core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php The web user for the test.
MainContentFallbackTest::setUp function core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
MainContentFallbackTest::testMainContentFallback function core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php Tests availability of main content: Drupal falls back to SimplePageVariant.
MainContentRendererInterface interface core/lib/Drupal/Core/Render/MainContent/MainContentRendererInterface.php The interface for "main content" (
MainContentRendererInterface.php file core/lib/Drupal/Core/Render/MainContent/MainContentRendererInterface.php
MainContentRendererInterface::renderResponse function core/lib/Drupal/Core/Render/MainContent/MainContentRendererInterface.php Renders the main content render array into a response.
MainContentRenderersPass class core/lib/Drupal/Core/Render/MainContent/MainContentRenderersPass.php Adds main_content_renderers parameter to the container.
MainContentRenderersPass.php file core/lib/Drupal/Core/Render/MainContent/MainContentRenderersPass.php
MainContentRenderersPass::process function core/lib/Drupal/Core/Render/MainContent/MainContentRenderersPass.php Collects the available main content renderer service IDs into the
main_content_renderers parameter, keyed by format.
MainContentViewSubscriber class core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php View subscriber rendering main content render arrays into responses.
MainContentViewSubscriber.php file core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php
MainContentViewSubscriber::$classResolver property core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php The class resolver service.
MainContentViewSubscriber::$mainContentRenderers property core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php The available main content renderer services, keyed per format.
MainContentViewSubscriber::$routeMatch property core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php The current route match.
MainContentViewSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php
MainContentViewSubscriber::onViewRenderArray function core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php Sets a response given a (main content) render array.
MainContentViewSubscriber::WRAPPER_FORMAT constant core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php URL query attribute to indicate the wrapper used to render a request.
MainContentViewSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php Constructs a new MainContentViewSubscriber object.
main_content_renderer.ajax service core/core.services.yml Drupal\Core\Render\MainContent\AjaxRenderer
main_content_renderer.dialog service core/core.services.yml Drupal\Core\Render\MainContent\DialogRenderer
main_content_renderer.extra_wide_modal service core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.services.yml Drupal\dialog_renderer_test\Render\MainContent\WideModalRenderer
main_content_renderer.html service core/core.services.yml Drupal\Core\Render\MainContent\HtmlRenderer
main_content_renderer.htmx service core/core.services.yml Drupal\Core\Render\MainContent\HtmxRenderer
main_content_renderer.json service core/modules/system/tests/modules/common_test/common_test.services.yml Drupal\common_test\Render\MainContent\JsonRenderer
main_content_renderer.modal service core/core.services.yml Drupal\Core\Render\MainContent\ModalRenderer
main_content_renderer.off_canvas service core/core.services.yml Drupal\Core\Render\MainContent\OffCanvasRenderer
main_content_renderer.off_canvas_top service core/core.services.yml Drupal\Core\Render\MainContent\OffCanvasRenderer
main_content_renderer.wide_modal service core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.services.yml Drupal\dialog_renderer_test\Render\MainContent\WideModalRenderer
main_content_view_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\MainContentViewSubscriber
ManageFieldsFunctionalTestBase::$contentType property core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTestBase.php The ID of the custom content type created for testing.
MediaEmbed::replaceNodeContent function core/modules/media/src/Plugin/Filter/MediaEmbed.php Replaces the contents of a DOMNode.
MediaLibraryUiBuilder::buildLibraryContent function core/modules/media_library/src/MediaLibraryUiBuilder.php Build the media library content area.

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