Search for optimize
- Search 7.x for optimize
- Search 8.9.x for optimize
- Search 10.3.x for optimize
- Search 11.x for optimize
- Other projects
| Title | Object type | File name | Summary | 
|---|---|---|---|
| asset.css.collection_optimizer | service | core/ | Drupal\Core\Asset\CssCollectionOptimizer | 
| asset.css.optimizer | service | core/ | Drupal\Core\Asset\CssOptimizer | 
| asset.js.collection_optimizer | service | core/ | Drupal\Core\Asset\JsCollectionOptimizer | 
| asset.js.optimizer | service | core/ | Drupal\Core\Asset\JsOptimizer | 
| AssetCollectionOptimizerInterface | interface | core/ | Interface defining a service that optimizes a collection of assets. | 
| AssetCollectionOptimizerInterface.php | file | core/ | |
| AssetCollectionOptimizerInterface::deleteAll | function | core/ | Deletes all optimized asset collections assets. | 
| AssetCollectionOptimizerInterface::getAll | function | core/ | Returns all optimized asset collections assets. | 
| AssetCollectionOptimizerInterface::optimize | function | core/ | Optimizes a collection of assets. | 
| 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. | 
| CacheContextsManager::optimizeTokens | function | core/ | Optimizes cache context tokens (the minimal representative subset). | 
| CacheContextsManagerTest::providerTestOptimizeTokens | function | core/ | Provides a list of context token sets. | 
| CacheContextsManagerTest::testOptimizeTokens | function | core/ | @covers ::optimizeTokens[[api-linebreak]] | 
| charset.css.optimized.css | file | core/ | html{font-family:"sans-serif";} | 
| comment_hacks.css.optimized.css | file | core/ | .test1{display:block;}html .clear-block{height:1%;}.clear-block{display:block;font:italic bold 12px/30px… | 
| CssCollectionOptimizer | class | core/ | Optimizes CSS assets. | 
| CssCollectionOptimizer.php | file | core/ | |
| CssCollectionOptimizer::$dumper | property | core/ | An asset dumper. | 
| CssCollectionOptimizer::$fileSystem | property | core/ | The file system service. | 
| CssCollectionOptimizer::$grouper | property | core/ | A CSS asset grouper. | 
| CssCollectionOptimizer::$optimizer | property | core/ | A CSS asset optimizer. | 
| CssCollectionOptimizer::$state | property | core/ | The state key/value store. | 
| CssCollectionOptimizer::deleteAll | function | core/ | Deletes all optimized asset collections assets. | 
| CssCollectionOptimizer::generateHash | function | core/ | Generate a hash for a given group of CSS assets. | 
| CssCollectionOptimizer::getAll | function | core/ | Returns all optimized asset collections assets. | 
| CssCollectionOptimizer::optimize | function | core/ | The cache file name is retrieved on a page load via a lookup variable that contains an associative array. The array key is the hash of the file names in $css while the value is the cache file name. The cache file is generated in two cases. First, if… | 
| CssCollectionOptimizer::__construct | function | core/ | Constructs a CssCollectionOptimizer. | 
| CssCollectionOptimizerUnitTest | class | core/ | Tests the CSS asset optimizer. | 
| CssCollectionOptimizerUnitTest.php | file | core/ | |
| CssCollectionOptimizerUnitTest::$dumperData | property | core/ | The data from the dumper. | 
| CssCollectionOptimizerUnitTest::$optimizer | property | core/ | A CSS Collection optimizer. | 
| CssCollectionOptimizerUnitTest::setUp | function | core/ | |
| CssCollectionOptimizerUnitTest::testCssImport | function | core/ | Test that css imports with strange letters do not destroy the css output. | 
| CssOptimizer | class | core/ | Optimizes a CSS asset. | 
| CssOptimizer.php | file | core/ | |
| CssOptimizer::$fileUrlGenerator | property | core/ | The file URL generator. | 
| CssOptimizer::$rewriteFileURIBasePath | property | core/ | The base path used by rewriteFileURI(). | 
| CssOptimizer::clean | function | core/ | Processes the contents of a CSS asset for cleanup. | 
| CssOptimizer::getFileUrlGenerator | function | core/ | Returns the file URL generator. | 
| CssOptimizer::loadFile | function | core/ | Loads the stylesheet and resolves all @import commands. | 
| CssOptimizer::loadNestedFile | function | core/ | Loads stylesheets recursively and returns contents with corrected paths. | 
| CssOptimizer::optimize | function | core/ | Optimizes an asset. | 
| CssOptimizer::processCss | function | core/ | Processes the contents of a stylesheet for aggregation. | 
| CssOptimizer::processFile | function | core/ | Processes CSS file and adds base URLs to any relative resource paths. | 
| CssOptimizer::rewriteFileURI | function | core/ | Prefixes all paths within a CSS file for processFile(). | 
| CssOptimizer::__construct | function | core/ | Constructs a CssOptimizer. | 
| CssOptimizerUnitTest | class | core/ | Tests the CSS asset optimizer. | 
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
