Search for optimize
- Search 7.x for optimize
- Search 9.5.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. |
| CssOptimizer | class | core/ |
Optimizes a CSS asset. |
| CssOptimizer.php | file | core/ |
|
| 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/ |
Build aggregate CSS file. |
| CssOptimizer::rewriteFileURI | function | core/ |
Prefixes all paths within a CSS file for processFile(). |
| CssOptimizerUnitTest | class | core/ |
Tests the CSS asset optimizer. |
| CssOptimizerUnitTest.php | file | core/ |
|
| CssOptimizerUnitTest::$backupGlobals | property | core/ |
|
| 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_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… |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.