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
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::$assetResolver property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The asset resolver service.
AjaxResponseAttachmentsProcessor::$config property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php A config object for the system performance configuration.
AjaxResponseAttachmentsProcessor::$cssCollectionRenderer property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The CSS asset collection renderer service.
AjaxResponseAttachmentsProcessor::$jsCollectionRenderer property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The JS asset collection renderer service.
AjaxResponseAttachmentsProcessor::$moduleHandler property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The module handler.
AjaxResponseAttachmentsProcessor::$renderer property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The renderer.
AjaxResponseAttachmentsProcessor::$requestStack property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The request stack.
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
AjaxResponseAttachmentsProcessor::__construct function core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php Constructs an AjaxResponseAttachmentsProcessor object.
ajax_response.attachments_processor service core/core.services.yml Drupal\Core\Ajax\AjaxResponseAttachmentsProcessor
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
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
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.
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
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
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
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
big_pipe_page_attachments function core/modules/big_pipe/big_pipe.module Implements hook_page_attachments().
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.

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