Search for attached

  1. Search 7.x for attached
  2. Search 9.5.x for attached
  3. Search 8.9.x for attached
  4. Search 10.3.x for attached
  5. Other projects
Title Object type File name Summary
AttachedAssetsTest::testVersionQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript versioning.
AttachedRenderingBlock class core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php A block we can use to test caching of #attached headers.
AttachedRenderingBlock.php file core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
AttachedRenderingBlock::build function core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php Builds and returns the renderable array for this block plugin.
AttachedRenderingBlock::getCacheMaxAge function core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
CommandsTest::testAttachedSettings function core/tests/Drupal/KernelTests/Core/Ajax/CommandsTest.php Regression test: Settings command exists regardless of JS aggregation.
CommandWithAttachedAssetsInterface interface core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php Interface for Ajax commands that render content and attach assets.
CommandWithAttachedAssetsInterface.php file core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php
CommandWithAttachedAssetsInterface::getAttachedAssets function core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php Gets the attached assets.
CommandWithAttachedAssetsTrait trait core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php Trait for Ajax commands that render content and attach assets.
CommandWithAttachedAssetsTrait.php file core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php
CommandWithAttachedAssetsTrait::$attachedAssets property core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php The attached assets for this Ajax command.
CommandWithAttachedAssetsTrait::getAttachedAssets function core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php Gets the attached assets.
CommandWithAttachedAssetsTrait::getRenderedContent function core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php Processes the content for output.
Connection::$attachedDatabases property core/modules/sqlite/src/Driver/Database/sqlite/Connection.php All databases attached to the current database.
Connection::getAttachedDatabases function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Gets all the attached databases.
DisplayAttachmentTest::testAttachmentOnAttachedMachineNameChange function core/modules/views_ui/tests/src/Functional/DisplayAttachmentTest.php Tests the attachment after changing machine name.
DisplayAttachmentTest::testRemoveAttachedDisplay function core/modules/views_ui/tests/src/Functional/DisplayAttachmentTest.php Tests the attachment working after the attached page was deleted.
DisplayPluginBase::getAttachedDisplays function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Find out all displays which are attached to this display.
DisplayPluginInterface::getAttachedDisplays function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Find out all displays which are attached to this display.
DisplayTest::testGetAttachedDisplays function core/modules/views/tests/src/Functional/Plugin/DisplayTest.php Tests the getAttachedDisplays method.
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidgetAttachedEntity function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests that the autocomplete widget knows about the entity its attached to.
FieldFieldTest::testAttachedRender function core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php Tests that formatter's #attached assets are correctly preserved.
MessageCommand::getAttachedAssets function core/lib/Drupal/Core/Ajax/MessageCommand.php Gets the attached assets.
RenderAttachedTestController class core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Controller for various permutations of #attached in the render array.
RenderAttachedTestController.php file core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php
RenderAttachedTestController::feed function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests attached feed rendering.
RenderAttachedTestController::head function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests attached HTML head rendering.
RenderAttachedTestController::header function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests attached HTML head rendering.
RenderAttachedTestController::htmlHeaderLink function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests HTTP header rendering for link.
RenderAttachedTestController::teapotHeaderStatus function core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php Tests special header and status code rendering.
RenderTest::testDrupalRenderThemePreprocessAttached function core/tests/Drupal/KernelTests/Core/Render/RenderTest.php Tests theme preprocess functions being able to attach assets.
RenderTest::testProcessAttached function core/tests/Drupal/KernelTests/Core/Render/RenderTest.php Tests that we get an exception when we try to attach an illegal type.
render_attached_test.info.yml file core/modules/system/tests/modules/render_attached_test/render_attached_test.info.yml core/modules/system/tests/modules/render_attached_test/render_attached_test.info.yml
render_attached_test.routing.yml file core/modules/system/tests/modules/render_attached_test/render_attached_test.routing.yml core/modules/system/tests/modules/render_attached_test/render_attached_test.routing.yml
StatisticsAttachedTest class core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php Tests if statistics.js is loaded when content is not printed.
StatisticsAttachedTest.php file core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php
StatisticsAttachedTest::$defaultTheme property core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php The theme to install as the default for testing.
StatisticsAttachedTest::$modules property core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php Modules to enable.
StatisticsAttachedTest::setUp function core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php
StatisticsAttachedTest::testAttached function core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php Tests if statistics.js is loaded when content is not printed.
statistics_test_attached.info.yml file core/modules/statistics/tests/themes/statistics_test_attached/statistics_test_attached.info.yml core/modules/statistics/tests/themes/statistics_test_attached/statistics_test_attached.info.yml
TabledragWarningCommand::getAttachedAssets function core/lib/Drupal/Core/Ajax/TabledragWarningCommand.php Gets the attached assets.
views.view.test_attached_disabled.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attached_disabled.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attached_disabled.yml

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