Search for optimize
- Search 7.x for optimize
 - Search 9.5.x for optimize
 - Search 8.9.x for optimize
 - Search 10.3.x for optimize
 - Other projects
 
| Title | Object type | File name | Summary | 
|---|---|---|---|
| asset.css.collection_optimizer | service | core/ | 
                                                                                        Drupal\Core\Asset\CssCollectionOptimizerLazy | 
| asset.css.optimizer | service | core/ | 
                                                                                        Drupal\Core\Asset\CssOptimizer | 
| asset.js.collection_optimizer | service | core/ | 
                                                                                        Drupal\Core\Asset\JsCollectionOptimizerLazy | 
| asset.js.optimizer | service | core/ | 
                                                                                        Drupal\Core\Asset\JsOptimizer | 
| AssetCollectionGroupOptimizerInterface | interface | core/ | 
                                                                                        Interface defining a service that optimizes a collection of assets. | 
| AssetCollectionGroupOptimizerInterface.php | file | core/ | 
                                                                                        |
| AssetCollectionGroupOptimizerInterface::optimizeGroup | function | core/ | 
                                                                                        Optimizes a specific group of assets. | 
| 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::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/ | 
                                                                                        Tests optimize tokens. | 
| 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… | 
| CssCollectionOptimizerLazy | class | core/ | 
                                                                                        Optimizes CSS assets. | 
| CssCollectionOptimizerLazy.php | file | core/ | 
                                                                                        |
| CssCollectionOptimizerLazy::deleteAll | function | core/ | 
                                                                                        Deletes all optimized asset collections assets. | 
| CssCollectionOptimizerLazy::optimize | function | core/ | 
                                                                                        Optimizes a collection of assets. | 
| CssCollectionOptimizerLazy::optimizeGroup | function | core/ | 
                                                                                        Optimizes a specific group of assets. | 
| CssCollectionOptimizerLazy::__construct | function | core/ | 
                                                                                        Constructs a CssCollectionOptimizerLazy. | 
| CssCollectionOptimizerLazyUnitTest | class | core/ | 
                                                                                        Tests the CSS asset optimizer. | 
| CssCollectionOptimizerLazyUnitTest.php | file | core/ | 
                                                                                        |
| CssCollectionOptimizerLazyUnitTest::$fileUrlGenerator | property | core/ | 
                                                                                        The file URL generator mock. | 
| CssCollectionOptimizerLazyUnitTest::$optimizer | property | core/ | 
                                                                                        A CSS asset optimizer. | 
| CssCollectionOptimizerLazyUnitTest::setUp | function | core/ | 
                                                                                        |
| CssCollectionOptimizerLazyUnitTest::testCssImport | function | core/ | 
                                                                                        Tests that CSS imports with strange letters do not destroy the CSS output. | 
| CssCollectionOptimizerLazyUnitTest::testCssLicenseAggregation | function | core/ | 
                                                                                        Test that license information is added correctly to aggregated CSS. | 
| CssCollectionOptimizerLazyUnitTest::testExternalMinifiedCssAssetOptimizationIsSkipped | function | core/ | 
                                                                                        Test that external minified CSS assets do not trigger optimization. | 
| CssCollectionOptimizerLazyUnitTest::testLocalMinifiedCssAssetOptimizationIsNotSkipped | function | core/ | 
                                                                                        Test that local minified CSS assets still trigger optimization. | 
| CssCollectionOptimizerLazyUnitTest::testRelativePathsInLocalMinifiedCssAssets | function | core/ | 
                                                                                        Test that relative paths in local minified CSS files are updated. | 
| 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::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. | 
| CssOptimizerUnitTest.php | file | core/ | 
                                                                                        
Pagination
- Page 1
 - Next page
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.