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 |
---|---|---|---|
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/ |
@covers ::optimizeTokens |
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::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. |
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/ |
|
CssOptimizerUnitTest::$fileUrlGenerator | property | core/ |
The file URL generator mock. |
CssOptimizerUnitTest::$optimizer | property | core/ |
A CSS asset optimizer. |
CssOptimizerUnitTest::providerTestOptimize | function | core/ |
Provides data for the CSS asset optimizing test. |
CssOptimizerUnitTest::setUp | function | core/ |
|
CssOptimizerUnitTest::testOptimize | function | core/ |
Tests optimizing a CSS asset group containing 'type' => 'file'. |
CssOptimizerUnitTest::testTypeExternal | function | core/ |
Tests a CSS asset with 'type' => 'external'. |
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled | function | core/ |
Tests a file CSS asset with preprocessing disabled. |
css_input_simple_with_media.css.optimized.css | file | core/ |
@media screen{body{margin:0;padding:0;background:#edf5fa;font:76%/170% Verdana,sans-serif;color:#494949;} } |
css_input_without_import.css.optimized.css | file | core/ |
body{margin:0;padding:0;background:#edf5fa;font:76%/170% Verdana,sans-serif;color:#494949;}.this .is .a .test{font:1em/100% Verdana,sans-serif;color:#494949;}.this .is .a .test{font:1em/100% Verdana,sans-serif;color:#494949;}some :pseudo… |
css_input_with_import.css.optimized.aggregated.css | file | core/ |
@import url("https://fonts.fontprovider.com/css2?family=Roboto+Mono:wght@300;400&family=Roboto:ital,wght@0,300;0,400;1,300;1,400&display=swap") print;@import url('import1.css') screen;@import… |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.