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 11.x for attachments
  5. Other projects
Title Object type File name Summary
BubbleableMetadataTest::providerTestMergeAttachmentsHtmlHeadMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Data provider for testMergeAttachmentsHtmlHeadMerging.
BubbleableMetadataTest::providerTestMergeAttachmentsHttpHeaderMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Data provider for testMergeAttachmentsHttpHeaderMerging.
BubbleableMetadataTest::testAddAttachments function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::addAttachments[[api-linebreak]]
@covers ::setAttachments[[api-linebreak]]
@dataProvider providerTestAddAttachments
BubbleableMetadataTest::testMergeAttachmentsHtmlHeadLinkMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests html_head_link asset merging.
BubbleableMetadataTest::testMergeAttachmentsHtmlHeadMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests html_head asset merging.
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.
common_test_page_attachments function core/modules/system/tests/modules/common_test/common_test.module Implements hook_page_attachments().
common_test_page_attachments_alter function core/modules/system/tests/modules/common_test/common_test.module Implements hook_page_attachments_alter().
content_translation_page_attachments function core/modules/content_translation/content_translation.module Implements hook_page_attachments().
contextual_page_attachments function core/modules/contextual/contextual.module Implements hook_page_attachments().
contextual_test_page_attachments_alter function core/modules/contextual/tests/modules/contextual_test/contextual_test.module Implements hook_page_attachments_alter().
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 Determines whether this display can use attachments.
DisplayPluginBase::usesAttachments function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Returns whether the display can use attachments.
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::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 Whether the display allows attachments.
EntityReference::$usesAttachments property core/modules/views/src/Plugin/views/display/EntityReference.php Whether the display allows attachments.
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::$assetResolver property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php The asset resolver service.
HtmlResponseAttachmentsProcessor::$config property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php A config object for the system performance configuration.
HtmlResponseAttachmentsProcessor::$cssCollectionRenderer property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php The CSS asset collection renderer service.
HtmlResponseAttachmentsProcessor::$jsCollectionRenderer property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php The JS asset collection renderer service.
HtmlResponseAttachmentsProcessor::$moduleHandler property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php The module handler service.
HtmlResponseAttachmentsProcessor::$renderer property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php The renderer.
HtmlResponseAttachmentsProcessor::$requestStack property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php The request stack.
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 Processes the attachments of a response that has attachments.
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.

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