Search for set

  1. Search 7.x for set
  2. Search 8.9.x for set
  3. Search 10.3.x for set
  4. Search 11.x for set
  5. Other projects
Title Object type File name Summary
AssetCollectionOptimizerInterface::optimize function core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php Optimizes a collection of assets.
AssetCollectionRendererInterface interface core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php Interface defining a service that generates a render array to render assets.
AssetCollectionRendererInterface.php file core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php
AssetCollectionRendererInterface::render function core/lib/Drupal/Core/Asset/AssetCollectionRendererInterface.php Renders an asset collection.
AssetDumper class core/lib/Drupal/Core/Asset/AssetDumper.php Dumps a CSS or JavaScript asset.
AssetDumper.php file core/lib/Drupal/Core/Asset/AssetDumper.php
AssetDumper::$fileSystem property core/lib/Drupal/Core/Asset/AssetDumper.php The file system service.
AssetDumper::dump function core/lib/Drupal/Core/Asset/AssetDumper.php 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/lib/Drupal/Core/Asset/AssetDumper.php AssetDumper constructor.
AssetDumperInterface interface core/lib/Drupal/Core/Asset/AssetDumperInterface.php Interface defining a service that dumps an (optimized) asset.
AssetDumperInterface.php file core/lib/Drupal/Core/Asset/AssetDumperInterface.php
AssetDumperInterface::dump function core/lib/Drupal/Core/Asset/AssetDumperInterface.php Dumps an (optimized) asset to persistent storage.
AssetOptimizerInterface interface core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php Interface defining a service that optimizes an asset.
AssetOptimizerInterface.php file core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php
AssetOptimizerInterface::clean function core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php Removes unwanted content from an asset.
AssetOptimizerInterface::optimize function core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php Optimizes an asset.
AssetResolver class core/lib/Drupal/Core/Asset/AssetResolver.php The default asset resolver.
AssetResolver.php file core/lib/Drupal/Core/Asset/AssetResolver.php
AssetResolver::$cache property core/lib/Drupal/Core/Asset/AssetResolver.php The cache backend.
AssetResolver::$languageManager property core/lib/Drupal/Core/Asset/AssetResolver.php The language manager.
AssetResolver::$libraryDependencyResolver property core/lib/Drupal/Core/Asset/AssetResolver.php The library dependency resolver.
AssetResolver::$libraryDiscovery property core/lib/Drupal/Core/Asset/AssetResolver.php The library discovery service.
AssetResolver::$moduleHandler property core/lib/Drupal/Core/Asset/AssetResolver.php The module handler.
AssetResolver::$themeManager property core/lib/Drupal/Core/Asset/AssetResolver.php The theme manager.
AssetResolver::getCssAssets function core/lib/Drupal/Core/Asset/AssetResolver.php Returns the CSS assets for the current response's libraries.
AssetResolver::getJsAssets function core/lib/Drupal/Core/Asset/AssetResolver.php Returns the JavaScript assets for the current response's libraries.
AssetResolver::getJsSettingsAssets function core/lib/Drupal/Core/Asset/AssetResolver.php Returns the JavaScript settings assets for this response's libraries.
AssetResolver::getLibrariesToLoad function core/lib/Drupal/Core/Asset/AssetResolver.php Returns the libraries that need to be loaded.
AssetResolver::sort function core/lib/Drupal/Core/Asset/AssetResolver.php Sorts CSS and JavaScript resources.
AssetResolver::__construct function core/lib/Drupal/Core/Asset/AssetResolver.php Constructs a new AssetResolver instance.
AssetResolverInterface interface core/lib/Drupal/Core/Asset/AssetResolverInterface.php Resolves asset libraries into concrete CSS and JavaScript assets.
AssetResolverInterface.php file core/lib/Drupal/Core/Asset/AssetResolverInterface.php
AssetResolverInterface::getCssAssets function core/lib/Drupal/Core/Asset/AssetResolverInterface.php Returns the CSS assets for the current response's libraries.
AssetResolverInterface::getJsAssets function core/lib/Drupal/Core/Asset/AssetResolverInterface.php Returns the JavaScript assets for the current response's libraries.
AssetResolverTest class core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @coversDefaultClass \Drupal\Core\Asset\AssetResolver
@group Asset
AssetResolverTest.php file core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php Contains \Drupal\Tests\Core\Asset\AssetResolverTest.
AssetResolverTest::$assetResolver property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The tested asset resolver service.
AssetResolverTest::$cache property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The cache backend to use.
AssetResolverTest::$languageManager property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked language manager.
AssetResolverTest::$libraryDependencyResolver property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked library dependency resolver.
AssetResolverTest::$libraryDiscovery property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked library discovery service.
AssetResolverTest::$moduleHandler property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked module handler.
AssetResolverTest::$themeManager property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked theme manager.
AssetResolverTest::providerAttachedAssets 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 providerAttachedAssets
AssetResolverTest::testGetJsAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @covers ::getJsAssets
@dataProvider providerAttachedAssets
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.

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