Search for attachments

  1. Search 7.x for attachments
  2. Search 9.5.x for attachments
  3. Search 8.9.x for attachments
  4. Search 10.3.x for attachments
  5. Other projects
Title Object type File name Summary
BubbleableMetadataTest::testMergeAttachmentsHttpHeaderMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests http_header asset merging.
BubbleableMetadataTest::testMergeAttachmentsLibraryMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests library asset merging.
claro_page_attachments_alter function core/themes/claro/claro.theme Implements hook_page_attachments_alter().
CommonTestController::attachments function core/modules/system/tests/modules/common_test/src/Controller/CommonTestController.php Returns a response with early rendering in common_test_page_attachments.
CommonTestHooks::pageAttachments function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_page_attachments().
CommonTestHooks::pageAttachmentsAlter function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_page_attachments_alter().
ContentTranslationHooks::pageAttachments function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_page_attachments().
ContextualHooks::pageAttachments function core/modules/contextual/src/Hook/ContextualHooks.php Implements hook_page_attachments().
ContextualTestHooks::pageAttachmentsAlter function core/modules/contextual/tests/modules/contextual_test/src/Hook/ContextualTestHooks.php Implements hook_page_attachments_alter().
contextual_test_page_attachments_alter function core/modules/contextual/tests/modules/contextual_test/contextual_test.module Implements hook_page_attachments_alter().
CssDisableTransitionsTestHooks::pageAttachments function core/modules/system/tests/modules/css_disable_transitions_test/src/Hook/CssDisableTransitionsTestHooks.php Implements hook_page_attachments().
css_disable_transitions_test_page_attachments function core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.module Implements hook_page_attachments().
DefaultDisplay::$usesAttachments property core/modules/views/src/Plugin/views/display/DefaultDisplay.php Whether the display allows attachments.
DisplayAttachmentTest::testDisabledAttachments function core/modules/views/tests/src/Functional/Plugin/DisplayAttachmentTest.php Tests that nothing is output when the attachment displays are disabled.
DisplayPluginBase::$usesAttachments property core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Whether the display allows attachments.
DisplayPluginBase::acceptAttachments function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
DisplayPluginBase::usesAttachments function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
DisplayPluginInterface::acceptAttachments function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Determines whether this display can use attachments.
DisplayPluginInterface::usesAttachments function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Returns whether the display can use attachments.
DisplayTest::$usesAttachments property core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php Whether the display allows attachments.
EarlyRenderingTestController::domainObjectWithAttachments function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::domainObjectWithAttachmentsEarly function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::responseWithAttachments function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::responseWithAttachmentsEarly function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EditorManager::$attachments property core/modules/editor/src/Plugin/EditorManager.php Static cache of attachments.
EditorManager::getAttachments function core/modules/editor/src/Plugin/EditorManager.php Retrieves text editor libraries and JavaScript settings.
Embed::$usesAttachments property core/modules/views/src/Plugin/views/display/Embed.php
EntityReference::$usesAttachments property core/modules/views/src/Plugin/views/display/EntityReference.php
Fieldgroup::preRenderAttachments function core/lib/Drupal/Core/Render/Element/Fieldgroup.php Adds the fieldgroup library.
hook_page_attachments function core/lib/Drupal/Core/Render/theme.api.php Add attachments (typically assets) to a page before it is rendered.
hook_page_attachments_alter function core/lib/Drupal/Core/Render/theme.api.php Alter attachments (typically assets) to a page before it is rendered.
HtmlResponseAttachmentsProcessor class core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Processes attachments of HTML responses.
HtmlResponseAttachmentsProcessor.php file core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php
HtmlResponseAttachmentsProcessor::$config property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php A config object for the system performance configuration.
HtmlResponseAttachmentsProcessor::formatHttpHeaderAttributes function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Formats an attribute string for an HTTP header.
HtmlResponseAttachmentsProcessor::processAssetLibraries function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Processes asset libraries into render arrays.
HtmlResponseAttachmentsProcessor::processAttachments function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php
HtmlResponseAttachmentsProcessor::processFeed function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Transform a 'feed' attachment into an 'html_head_link' attachment.
HtmlResponseAttachmentsProcessor::processHtmlHead function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Ensure proper key/data order and defaults for renderable head items.
HtmlResponseAttachmentsProcessor::processHtmlHeadLink function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Transform a html_head_link array into html_head and http_header arrays.
HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Renders HTML response attachment placeholders.
HtmlResponseAttachmentsProcessor::renderPlaceholders function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Renders placeholders (#attached['placeholders']).
HtmlResponseAttachmentsProcessor::setHeaders function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Sets headers on a response object.
HtmlResponseAttachmentsProcessor::__construct function core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php Constructs a HtmlResponseAttachmentsProcessor object.
HtmlResponseAttachmentsTest class core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Functional tests for HtmlResponseAttachmentsProcessor.
HtmlResponseAttachmentsTest.php file core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
HtmlResponseAttachmentsTest::$defaultTheme property core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
HtmlResponseAttachmentsTest::$modules property core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
HtmlResponseAttachmentsTest::assertFeed function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Helper function to make assertions about the presence of an RSS feed.
HtmlResponseAttachmentsTest::assertHead function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Helper function to make assertions about HTML head elements.

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