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
AjaxResponseAttachmentsProcessor class core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php Processes attachments of AJAX responses.
AjaxResponseAttachmentsProcessor.php file core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php
AjaxResponseAttachmentsProcessor::$config property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php A config object for the system performance configuration.
AjaxResponseAttachmentsProcessor::buildAttachmentsCommands function core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php Prepares the AJAX commands to attach assets.
AjaxResponseAttachmentsProcessor::processAttachments function core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php Processes the attachments of a response that has attachments.
AjaxResponseAttachmentsProcessor::__construct function core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php Constructs an AjaxResponseAttachmentsProcessor object.
AttachmentsInterface interface core/lib/Drupal/Core/Render/AttachmentsInterface.php The attached metadata collection for a renderable element.
AttachmentsInterface.php file core/lib/Drupal/Core/Render/AttachmentsInterface.php
AttachmentsInterface::addAttachments function core/lib/Drupal/Core/Render/AttachmentsInterface.php Merges an array of attached data into this object's collection.
AttachmentsInterface::getAttachments function core/lib/Drupal/Core/Render/AttachmentsInterface.php Gets this object's attached collection.
AttachmentsInterface::setAttachments function core/lib/Drupal/Core/Render/AttachmentsInterface.php Replaces this object's attached data with the provided array.
AttachmentsResponseProcessorInterface interface core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php Defines an interface for processing attachments of responses that have them.
AttachmentsResponseProcessorInterface.php file core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php
AttachmentsResponseProcessorInterface::processAttachments function core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php Processes the attachments of a response that has attachments.
AttachmentsTestDomainObject class core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php Test domain class with implemented AttachmentsInterface.
AttachmentsTestDomainObject.php file core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php
AttachmentsTestResponse class core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestResponse.php Test response with implemented AttachmentsInterface.
AttachmentsTestResponse.php file core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestResponse.php
AttachmentsTrait trait core/lib/Drupal/Core/Render/AttachmentsTrait.php Provides an implementation of AttachmentsInterface.
AttachmentsTrait.php file core/lib/Drupal/Core/Render/AttachmentsTrait.php
AttachmentsTrait::$attachments property core/lib/Drupal/Core/Render/AttachmentsTrait.php The attachments for this response.
AttachmentsTrait::addAttachments function core/lib/Drupal/Core/Render/AttachmentsTrait.php
AttachmentsTrait::getAttachments function core/lib/Drupal/Core/Render/AttachmentsTrait.php
AttachmentsTrait::setAttachments function core/lib/Drupal/Core/Render/AttachmentsTrait.php
BareHtmlPageRenderer::$htmlResponseAttachmentsProcessor property core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php The HTML response attachments processor service.
BareHtmlPageRenderer::systemPageAttachments function core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php Helper for system_page_attachments.
BareHtmlPageRenderer::systemPageAttachments function core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php
BigPipeHooks::pageAttachments function core/modules/big_pipe/src/Hook/BigPipeHooks.php Implements hook_page_attachments().
BigPipeResponseAttachmentsProcessor class core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php Processes attachments of HTML responses with BigPipe enabled.
BigPipeResponseAttachmentsProcessor.php file core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php
BigPipeResponseAttachmentsProcessor::$htmlResponseAttachmentsProcessor property core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php The HTML response attachments processor service.
BigPipeResponseAttachmentsProcessor::processAttachments function core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php Processes the attachments of a response that has attachments.
BigPipeResponseAttachmentsProcessor::__construct function core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php Constructs a BigPipeResponseAttachmentsProcessor object.
BigPipeResponseAttachmentsProcessorTest class core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php @coversDefaultClass \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor
@group big_pipe
BigPipeResponseAttachmentsProcessorTest.php file core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php
BigPipeResponseAttachmentsProcessorTest::attachmentsProvider function core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php Provides data to testHtmlResponse().
BigPipeResponseAttachmentsProcessorTest::createBigPipeResponseAttachmentsProcessor function core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php Creates a BigPipeResponseAttachmentsProcessor with mostly dummies.
BigPipeResponseAttachmentsProcessorTest::nonHtmlResponseProvider function core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php Provides data to testNonHtmlResponse().
BigPipeResponseAttachmentsProcessorTest::testHtmlResponse function core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php @covers ::processAttachments
BigPipeResponseAttachmentsProcessorTest::testNonHtmlResponse function core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php @covers ::processAttachments
Block::$usesAttachments property core/modules/views/src/Plugin/views/display/Block.php Whether the display allows attachments.
book_test_page_attachments function core/modules/book/tests/modules/book_test/book_test.module Implements hook_page_attachments().
BubbleableMetadata::mergeAttachments function core/lib/Drupal/Core/Render/BubbleableMetadata.php Merges two attachments arrays (which live under the '#attached' key).
BubbleableMetadataTest::providerTestAddAttachments function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for testAddAttachments().
BubbleableMetadataTest::providerTestMergeAttachmentsHtmlHeadLinkMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Data provider for testMergeAttachmentsHtmlHeadLinkMerging.
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 Tests addAttachments().
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.

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