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 |
---|---|---|---|
CssOptimizerUnitTest.php | file | core/ |
|
CssOptimizerUnitTest::$backupGlobals | property | 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_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… |
css_input_with_import.css.optimized.css | file | core/ |
ul,select{font:1em/160% Verdana,sans-serif;color:#494949;}.ui-icon{background-image:url(../images/icon.png);}.data .double-quote{background-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");}.data… |
css_input_with_import.css.optimized.css | file | core/ |
ul,select{font:1em/160% Verdana,sans-serif;color:#494949;}.ui-icon{background-image:url(images/icon.png);}.data .double-quote{background-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");}.data… |
EntityConverterLatestRevisionTest::testOptimizedConvert | function | core/ |
Tests that pending revisions are loaded only when needed. |
JsCollectionOptimizer | class | core/ |
Optimizes JavaScript assets. |
JsCollectionOptimizer.php | file | core/ |
|
JsCollectionOptimizer::$dumper | property | core/ |
An asset dumper. |
JsCollectionOptimizer::$fileSystem | property | core/ |
The file system service. |
JsCollectionOptimizer::$grouper | property | core/ |
A JS asset grouper. |
JsCollectionOptimizer::$optimizer | property | core/ |
A JS asset optimizer. |
JsCollectionOptimizer::$state | property | core/ |
The state key/value store. |
JsCollectionOptimizer::deleteAll | function | core/ |
Deletes all optimized asset collections assets. |
JsCollectionOptimizer::generateHash | function | core/ |
Generate a hash for a given group of JavaScript assets. |
JsCollectionOptimizer::getAll | function | core/ |
Returns all optimized asset collections assets. |
JsCollectionOptimizer::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 names in $files while the value is the cache file name. The cache file is generated in two cases. First, if… |
JsCollectionOptimizer::__construct | function | core/ |
Constructs a JsCollectionOptimizer. |
JsOptimizer | class | core/ |
Optimizes a JavaScript asset. |
JsOptimizer.php | file | core/ |
|
JsOptimizer::clean | function | core/ |
Processes the contents of a javascript asset for cleanup. |
JsOptimizer::optimize | function | core/ |
Optimizes an asset. |
JsOptimizerUnitTest | class | core/ |
Tests the JS asset optimizer. |
JsOptimizerUnitTest.php | file | core/ |
|
JsOptimizerUnitTest::$optimizer | property | core/ |
A JS asset optimizer. |
JsOptimizerUnitTest::providerTestClean | function | core/ |
Provides data for the JS asset cleaning test. |
JsOptimizerUnitTest::providerTestOptimize | function | core/ |
Provides data for the JS asset optimize test. |
JsOptimizerUnitTest::setUp | function | core/ |
|
JsOptimizerUnitTest::testClean | function | core/ |
Tests cleaning of a JS asset group containing 'type' => 'file'. |
JsOptimizerUnitTest::testOptimize | function | core/ |
Tests cleaning of a JS asset group containing 'type' => 'file'. |
NoOptimizeCacheContext | class | core/ |
Non-optimizable context class. |
NoOptimizeCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
NoOptimizeCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
NoOptimizeCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
OptimizedPhpArrayDumper | class | core/ |
OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. |
OptimizedPhpArrayDumper.php | file | core/ |
|
OptimizedPhpArrayDumper::$aliases | property | core/ |
A list of container aliases. |
OptimizedPhpArrayDumper::$serialize | property | core/ |
Whether to serialize service definitions or not. |
OptimizedPhpArrayDumper::dump | function | core/ |
|
OptimizedPhpArrayDumper::dumpCallable | function | core/ |
Dumps callable to a PHP array. |
OptimizedPhpArrayDumper::dumpCollection | function | core/ |
Dumps a collection to a PHP array. |
OptimizedPhpArrayDumper::dumpMethodCalls | function | core/ |
Dumps method calls to a PHP array. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.