Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
AttachedAssetsInterface::createFromRenderArray function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Creates an AttachedAssetsInterface object from a render array.
AttachedAssetsInterface::getAlreadyLoadedLibraries function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Returns the set of already loaded asset libraries.
AttachedAssetsInterface::getLibraries function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Returns the asset libraries attached to the current response.
AttachedAssetsInterface::getSettings function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Returns the settings attached to the current response.
AttachedAssetsInterface::setAlreadyLoadedLibraries function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Sets the asset libraries that the current request marked as already loaded.
AttachedAssetsInterface::setLibraries function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Sets the asset libraries attached to the current response.
AttachedAssetsInterface::setSettings function core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php Sets the JavaScript settings that are attached to the current response.
AttachedAssetsTest class core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests #attached assets: attached asset libraries and JavaScript settings.
AttachedAssetsTest.php file core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
AttachedAssetsTest::$assetResolver property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The asset resolver service.
AttachedAssetsTest::$fileUrlGenerator property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The file URL generator.
AttachedAssetsTest::$modules property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Modules to enable.
AttachedAssetsTest::$renderer property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The renderer service.
AttachedAssetsTest::setUp function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
AttachedAssetsTest::testAddExternalFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding external CSS and JavaScript files.
AttachedAssetsTest::testAddFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding a CSS and a JavaScript file.
AttachedAssetsTest::testAddJsFileWithQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript files that have query strings attached get added right.
AttachedAssetsTest::testAddJsSettings function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript settings.
AttachedAssetsTest::testAggregatedAttributes function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that attributes are maintained when JS aggregation is enabled.
AttachedAssetsTest::testAggregation function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Integration test for CSS/JS aggregation.
AttachedAssetsTest::testAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests altering a JavaScript's weight via hook_js_alter().
AttachedAssetsTest::testAttributes function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript files with additional attributes.
AttachedAssetsTest::testBrowserConditionalComments function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript within conditional comments.
AttachedAssetsTest::testDefault function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that default CSS and JavaScript is empty.
AttachedAssetsTest::testDeprecatedDrupalJsDefaults function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests deprecated drupal_js_defaults() function.
AttachedAssetsTest::testDynamicLibrary function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Dynamically defines an asset library and alters it.
AttachedAssetsTest::testHeaderHTML function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JS assets depending on the 'core/<head>' virtual library.
AttachedAssetsTest::testLibraryAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Adds a JavaScript library to the page and alters it.
AttachedAssetsTest::testLibraryNameConflicts function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that multiple modules can implement libraries with the same name.
AttachedAssetsTest::testLibraryUnknown function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests non-existing libraries.
AttachedAssetsTest::testNoCache function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that for assets with cache = FALSE, Drupal sets preprocess = FALSE.
AttachedAssetsTest::testRenderDifferentWeight function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests rendering the JavaScript with a file's weight above jQuery's.
AttachedAssetsTest::testRenderOrder function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript and CSS asset ordering.
AttachedAssetsTest::testSettings function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript settings.
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
Attachment class core/modules/views/src/Plugin/views/display/Attachment.php The plugin that handles an attachment display.
Attachment.php file core/modules/views/src/Plugin/views/display/Attachment.php
Attachment::$usesPager property core/modules/views/src/Plugin/views/display/Attachment.php Whether the display allows the use of a pager or not.
Attachment::attachmentPositions function core/modules/views/src/Plugin/views/display/Attachment.php
Attachment::attachTo function core/modules/views/src/Plugin/views/display/Attachment.php Allows displays to attach to other views.
Attachment::buildOptionsForm function core/modules/views/src/Plugin/views/display/Attachment.php Provide the default form for setting options.
Attachment::defineOptions function core/modules/views/src/Plugin/views/display/Attachment.php Information about options for all kinds of purposes will be held here.
Attachment::displaysExposed function core/modules/views/src/Plugin/views/display/Attachment.php Determines if this display should display the exposed filters widgets.
Attachment::execute function core/modules/views/src/Plugin/views/display/Attachment.php Executes the view and returns data in the format required.
Attachment::optionsSummary function core/modules/views/src/Plugin/views/display/Attachment.php Provide the summary for attachment options in the views UI.
Attachment::renderPager function core/modules/views/src/Plugin/views/display/Attachment.php Checks to see if the display plugins support pager rendering.

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