Search for set

  1. Search 7.x for set
  2. Search 9.5.x for set
  3. Search 8.9.x for set
  4. Search 10.3.x for set
  5. Other projects
Title Object type File name Summary
AssetResolverTest::providerAttachedJsAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::setUp function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::testGetCssAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @covers ::getCssAssets
@dataProvider providerAttachedCssAssets
AssetResolverTest::testGetJsAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @covers ::getJsAssets
@dataProvider providerAttachedJsAssets
AssetResolverTest::testJsAssetsOrder function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php Test that order of scripts are correct.
AssetRoutes class core/modules/system/src/Routing/AssetRoutes.php Defines a routes' callback to register a URL for serving assets.
AssetRoutes.php file core/modules/system/src/Routing/AssetRoutes.php
AssetRoutes::create function core/modules/system/src/Routing/AssetRoutes.php Instantiates a new instance of this class.
AssetRoutes::routes function core/modules/system/src/Routing/AssetRoutes.php Returns an array of route objects.
AssetRoutes::__construct function core/modules/system/src/Routing/AssetRoutes.php Constructs an asset routes object.
AssetsStream class core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Defines a Drupal stream wrapper class for optimized assets (assets://).
AssetsStream.php file core/lib/Drupal/Core/StreamWrapper/AssetsStream.php
AssetsStream::basePath function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the base path for public://.
AssetsStream::baseUrl function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Finds and returns the base URL for public://.
AssetsStream::getDescription function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the description of the stream wrapper for use in the UI.
AssetsStream::getName function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the name of the stream wrapper for use in the UI.
AssetsStream::getType function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the type of stream wrapper.
AttachedAssets class core/lib/Drupal/Core/Asset/AttachedAssets.php The default attached assets collection.
AttachedAssets.php file core/lib/Drupal/Core/Asset/AttachedAssets.php
AttachedAssets::$alreadyLoadedLibraries property core/lib/Drupal/Core/Asset/AttachedAssets.php The set of asset libraries that the client has already loaded.
AttachedAssets::$libraries property core/lib/Drupal/Core/Asset/AttachedAssets.php The (ordered) list of asset libraries attached to the current response.
AttachedAssets::$settings property core/lib/Drupal/Core/Asset/AttachedAssets.php The JavaScript settings attached to the current response.
AttachedAssets::createFromRenderArray function core/lib/Drupal/Core/Asset/AttachedAssets.php Creates an AttachedAssetsInterface object from a render array.
AttachedAssets::getAlreadyLoadedLibraries function core/lib/Drupal/Core/Asset/AttachedAssets.php Returns the set of already loaded asset libraries.
AttachedAssets::getLibraries function core/lib/Drupal/Core/Asset/AttachedAssets.php Returns the asset libraries attached to the current response.
AttachedAssets::getSettings function core/lib/Drupal/Core/Asset/AttachedAssets.php Returns the settings attached to the current response.
AttachedAssets::setAlreadyLoadedLibraries function core/lib/Drupal/Core/Asset/AttachedAssets.php Sets the asset libraries that the current request marked as already loaded.
AttachedAssets::setLibraries function core/lib/Drupal/Core/Asset/AttachedAssets.php Sets the asset libraries attached to the current response.
AttachedAssets::setSettings function core/lib/Drupal/Core/Asset/AttachedAssets.php Sets the JavaScript settings that are attached to the current response.
AttachedAssetsInterface interface core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php The attached assets collection for the current response.
AttachedAssetsInterface.php file core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php
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 install.
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.

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