Search for set
Title | Object type | File name | Summary |
---|---|---|---|
AttachedAssets::$libraries | property | core/ |
The (ordered) list of asset libraries attached to the current response. |
AttachedAssets::$settings | property | core/ |
The JavaScript settings attached to the current response. |
AttachedAssets::createFromRenderArray | function | core/ |
Creates an AttachedAssetsInterface object from a render array. |
AttachedAssets::getAlreadyLoadedLibraries | function | core/ |
Returns the set of already loaded asset libraries. |
AttachedAssets::getLibraries | function | core/ |
Returns the asset libraries attached to the current response. |
AttachedAssets::getSettings | function | core/ |
Returns the settings attached to the current response. |
AttachedAssets::setAlreadyLoadedLibraries | function | core/ |
Sets the asset libraries that the current request marked as already loaded. |
AttachedAssets::setLibraries | function | core/ |
Sets the asset libraries attached to the current response. |
AttachedAssets::setSettings | function | core/ |
Sets the JavaScript settings that are attached to the current response. |
AttachedAssetsInterface | interface | core/ |
The attached assets collection for the current response. |
AttachedAssetsInterface.php | file | core/ |
|
AttachedAssetsInterface::createFromRenderArray | function | core/ |
Creates an AttachedAssetsInterface object from a render array. |
AttachedAssetsInterface::getAlreadyLoadedLibraries | function | core/ |
Returns the set of already loaded asset libraries. |
AttachedAssetsInterface::getLibraries | function | core/ |
Returns the asset libraries attached to the current response. |
AttachedAssetsInterface::getSettings | function | core/ |
Returns the settings attached to the current response. |
AttachedAssetsInterface::setAlreadyLoadedLibraries | function | core/ |
Sets the asset libraries that the current request marked as already loaded. |
AttachedAssetsInterface::setLibraries | function | core/ |
Sets the asset libraries attached to the current response. |
AttachedAssetsInterface::setSettings | function | core/ |
Sets the JavaScript settings that are attached to the current response. |
AttachedAssetsTest | class | core/ |
Tests #attached assets: attached asset libraries and JavaScript settings. |
AttachedAssetsTest.php | file | core/ |
|
AttachedAssetsTest::$assetResolver | property | core/ |
The asset resolver service. |
AttachedAssetsTest::$fileUrlGenerator | property | core/ |
The file URL generator. |
AttachedAssetsTest::$modules | property | core/ |
Modules to enable. |
AttachedAssetsTest::$renderer | property | core/ |
The renderer service. |
AttachedAssetsTest::setUp | function | core/ |
|
AttachedAssetsTest::testAddExternalFiles | function | core/ |
Tests adding external CSS and JavaScript files. |
AttachedAssetsTest::testAddFiles | function | core/ |
Tests adding a CSS and a JavaScript file. |
AttachedAssetsTest::testAddJsFileWithQueryString | function | core/ |
Tests JavaScript files that have query strings attached get added right. |
AttachedAssetsTest::testAddJsSettings | function | core/ |
Tests adding JavaScript settings. |
AttachedAssetsTest::testAggregatedAttributes | function | core/ |
Tests that attributes are maintained when JS aggregation is enabled. |
AttachedAssetsTest::testAggregation | function | core/ |
Integration test for CSS/JS aggregation. |
AttachedAssetsTest::testAlter | function | core/ |
Tests altering a JavaScript's weight via hook_js_alter(). |
AttachedAssetsTest::testAttributes | function | core/ |
Tests adding JavaScript files with additional attributes. |
AttachedAssetsTest::testBrowserConditionalComments | function | core/ |
Tests adding JavaScript within conditional comments. |
AttachedAssetsTest::testDefault | function | core/ |
Tests that default CSS and JavaScript is empty. |
AttachedAssetsTest::testDeprecatedDrupalJsDefaults | function | core/ |
Tests deprecated drupal_js_defaults() function. |
AttachedAssetsTest::testDynamicLibrary | function | core/ |
Dynamically defines an asset library and alters it. |
AttachedAssetsTest::testHeaderHTML | function | core/ |
Tests JS assets depending on the 'core/<head>' virtual library. |
AttachedAssetsTest::testLibraryAlter | function | core/ |
Adds a JavaScript library to the page and alters it. |
AttachedAssetsTest::testLibraryNameConflicts | function | core/ |
Tests that multiple modules can implement libraries with the same name. |
AttachedAssetsTest::testLibraryUnknown | function | core/ |
Tests non-existing libraries. |
AttachedAssetsTest::testNoCache | function | core/ |
Tests that for assets with cache = FALSE, Drupal sets preprocess = FALSE. |
AttachedAssetsTest::testRenderDifferentWeight | function | core/ |
Tests rendering the JavaScript with a file's weight above jQuery's. |
AttachedAssetsTest::testRenderOrder | function | core/ |
Tests JavaScript and CSS asset ordering. |
AttachedAssetsTest::testSettings | function | core/ |
Tests JavaScript settings. |
AttachedAssetsTest::testVersionQueryString | function | core/ |
Tests JavaScript versioning. |
AttachmentsInterface::setAttachments | function | core/ |
Sets attachments. |
AttachmentsTrait::setAttachments | function | core/ |
|
Attribute::offsetExists | function | core/ |
|
Attribute::offsetGet | function | core/ |
Pagination
- Previous page
- Page 6
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.