Search for set
Title | Object type | File name | Summary |
---|---|---|---|
AssetCollectionOptimizerInterface::optimize | function | core/ |
Optimizes a collection of assets. |
AssetCollectionRendererInterface | interface | core/ |
Interface defining a service that generates a render array to render assets. |
AssetCollectionRendererInterface.php | file | core/ |
|
AssetCollectionRendererInterface::render | function | core/ |
Renders an asset collection. |
AssetDumper | class | core/ |
Dumps a CSS or JavaScript asset. |
AssetDumper.php | file | core/ |
|
AssetDumper::$fileSystem | property | core/ |
The file system service. |
AssetDumper::dump | function | core/ |
The file name for the CSS or JS cache file is generated from the hash of the aggregated contents of the files in $data. This forces proxies and browsers to download new CSS when the CSS changes. |
AssetDumper::__construct | function | core/ |
AssetDumper constructor. |
AssetDumperInterface | interface | core/ |
Interface defining a service that dumps an (optimized) asset. |
AssetDumperInterface.php | file | core/ |
|
AssetDumperInterface::dump | function | core/ |
Dumps an (optimized) asset to persistent storage. |
AssetOptimizerInterface | interface | core/ |
Interface defining a service that optimizes an asset. |
AssetOptimizerInterface.php | file | core/ |
|
AssetOptimizerInterface::clean | function | core/ |
Removes unwanted content from an asset. |
AssetOptimizerInterface::optimize | function | core/ |
Optimizes an asset. |
AssetResolver | class | core/ |
The default asset resolver. |
AssetResolver.php | file | core/ |
|
AssetResolver::$cache | property | core/ |
The cache backend. |
AssetResolver::$languageManager | property | core/ |
The language manager. |
AssetResolver::$libraryDependencyResolver | property | core/ |
The library dependency resolver. |
AssetResolver::$libraryDiscovery | property | core/ |
The library discovery service. |
AssetResolver::$moduleHandler | property | core/ |
The module handler. |
AssetResolver::$themeManager | property | core/ |
The theme manager. |
AssetResolver::getCssAssets | function | core/ |
Returns the CSS assets for the current response's libraries. |
AssetResolver::getJsAssets | function | core/ |
Returns the JavaScript assets for the current response's libraries. |
AssetResolver::getJsSettingsAssets | function | core/ |
Returns the JavaScript settings assets for this response's libraries. |
AssetResolver::getLibrariesToLoad | function | core/ |
Returns the libraries that need to be loaded. |
AssetResolver::sort | function | core/ |
Sorts CSS and JavaScript resources. |
AssetResolver::__construct | function | core/ |
Constructs a new AssetResolver instance. |
AssetResolverInterface | interface | core/ |
Resolves asset libraries into concrete CSS and JavaScript assets. |
AssetResolverInterface.php | file | core/ |
|
AssetResolverInterface::getCssAssets | function | core/ |
Returns the CSS assets for the current response's libraries. |
AssetResolverInterface::getJsAssets | function | core/ |
Returns the JavaScript assets for the current response's libraries. |
AssetResolverTest | class | core/ |
@coversDefaultClass \Drupal\Core\Asset\AssetResolver @group Asset |
AssetResolverTest.php | file | core/ |
Contains \Drupal\Tests\Core\Asset\AssetResolverTest. |
AssetResolverTest::$assetResolver | property | core/ |
The tested asset resolver service. |
AssetResolverTest::$cache | property | core/ |
The cache backend to use. |
AssetResolverTest::$languageManager | property | core/ |
The mocked language manager. |
AssetResolverTest::$libraryDependencyResolver | property | core/ |
The mocked library dependency resolver. |
AssetResolverTest::$libraryDiscovery | property | core/ |
The mocked library discovery service. |
AssetResolverTest::$moduleHandler | property | core/ |
The mocked module handler. |
AssetResolverTest::$themeManager | property | core/ |
The mocked theme manager. |
AssetResolverTest::providerAttachedAssets | function | core/ |
|
AssetResolverTest::setUp | function | core/ |
|
AssetResolverTest::testGetCssAssets | function | core/ |
@covers ::getCssAssets @dataProvider providerAttachedAssets |
AssetResolverTest::testGetJsAssets | function | core/ |
@covers ::getJsAssets @dataProvider providerAttachedAssets |
AttachedAssets | class | core/ |
The default attached assets collection. |
AttachedAssets.php | file | core/ |
|
AttachedAssets::$alreadyLoadedLibraries | property | core/ |
The set of asset libraries that the client has already loaded. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.