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
HtmlResponseAttachmentsTest::testAttachments function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Tests rendering of ['#attached'].
HtmlResponseAttachmentsTest::testRenderCachedBlock function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Tests caching of ['#attached'].
HtmlResponseSubscriber::$htmlResponseAttachmentsProcessor property core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php The HTML response attachments processor service.
html_response.attachments_processor service core/core.services.yml Drupal\Core\Render\HtmlResponseAttachmentsProcessor
html_response.attachments_processor.big_pipe service core/modules/big_pipe/big_pipe.services.yml \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor
HtmxTestAttachmentsController class core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Returns responses for HTMX Test Attachments routes.
HtmxTestAttachmentsController.php file core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php
HtmxTestAttachmentsController::after function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds a response with an `afterend` swap.
HtmxTestAttachmentsController::before function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds a response with a `beforebegin` swap.
HtmxTestAttachmentsController::generateHtmxButton function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Static helper to for reusable render array.
HtmxTestAttachmentsController::page function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds the response.
HtmxTestAttachmentsController::replace function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds the HTMX response.
HtmxTestAttachmentsController::replaceWithAjax function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php We need a static callback that ignores callback parameters.
HtmxTestAttachmentsController::withWrapperFormat function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds a response with an the wrapper format parameter on the request.
JsTestingAjaxRequestTestHooks::pageAttachments function core/modules/system/tests/modules/js_testing_ajax_request_test/src/Hook/JsTestingAjaxRequestTestHooks.php Implements hook_page_attachments().
JsTestingLogTestHooks::pageAttachments function core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php Implements hook_page_attachments().
OffCanvasTestHooks::pageAttachments function core/modules/system/tests/modules/off_canvas_test/src/Hook/OffCanvasTestHooks.php Implements hook_page_attachments().
Page::$usesAttachments property core/modules/views/src/Plugin/views/display/Page.php Whether the display allows attachments.
PageAttachmentsHook class core/modules/system/src/Hook/PageAttachmentsHook.php Implements hook_page_attachments() for the system module.
PageAttachmentsHook.php file core/modules/system/src/Hook/PageAttachmentsHook.php
PageAttachmentsHook::pageAttachments function core/modules/system/src/Hook/PageAttachmentsHook.php Implements hook_page_attachments().
PageAttachmentsHook::__construct function core/modules/system/src/Hook/PageAttachmentsHook.php
PageRenderTest::testHookPageAttachmentsExceptions function core/modules/system/tests/src/Kernel/Common/PageRenderTest.php Tests hook_page_attachments() exceptions.
PageRenderTest::testHtmlRendererAttachmentsRenderContext function core/modules/system/tests/src/Kernel/Common/PageRenderTest.php Tests HtmlRenderer::invokePageAttachmentHooks in a render context.
SettingsTrayTestCssHooks::pageAttachments function core/modules/settings_tray/tests/modules/settings_tray_test_css/src/Hook/SettingsTrayTestCssHooks.php Implements hook_page_attachments().
SystemModuleTestHooks::pageAttachmentsAlter function core/modules/system/tests/modules/system_module_test/src/Hook/SystemModuleTestHooks.php Implements hook_page_attachments_alter().
SystemTestHooks::pageAttachments function core/modules/system/tests/modules/system_test/src/Hook/SystemTestHooks.php Implements hook_page_attachments().
Textarea::preRenderAttachments function core/lib/Drupal/Core/Render/Element/Textarea.php Adds the textarea resize library.

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