Search for optimize

  1. Search 7.x for optimize
  2. Search 9.5.x for optimize
  3. Search 8.9.x for optimize
  4. Search 11.x for optimize
  5. Other projects
Title Object type File name Summary
asset.css.collection_optimizer service core/core.services.yml Drupal\Core\Asset\CssCollectionOptimizerLazy
asset.css.optimizer service core/core.services.yml Drupal\Core\Asset\CssOptimizer
asset.js.collection_optimizer service core/core.services.yml Drupal\Core\Asset\JsCollectionOptimizerLazy
asset.js.optimizer service core/core.services.yml Drupal\Core\Asset\JsOptimizer
AssetCollectionGroupOptimizerInterface interface core/lib/Drupal/Core/Asset/AssetCollectionGroupOptimizerInterface.php Interface defining a service that optimizes a collection of assets.
AssetCollectionGroupOptimizerInterface.php file core/lib/Drupal/Core/Asset/AssetCollectionGroupOptimizerInterface.php
AssetCollectionGroupOptimizerInterface::optimizeGroup function core/lib/Drupal/Core/Asset/AssetCollectionGroupOptimizerInterface.php Optimizes a specific group of assets.
AssetCollectionOptimizerInterface interface core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php Interface defining a service that optimizes a collection of assets.
AssetCollectionOptimizerInterface.php file core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php
AssetCollectionOptimizerInterface::deleteAll function core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php Deletes all optimized asset collections assets.
AssetCollectionOptimizerInterface::getAll function core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php Returns all optimized asset collections assets.
AssetCollectionOptimizerInterface::optimize function core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php Optimizes a collection of assets.
AssetOptimizerInterface interface core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php Interface defining a service that optimizes an asset.
AssetOptimizerInterface.php file core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php
AssetOptimizerInterface::clean function core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php Removes unwanted content from an asset.
AssetOptimizerInterface::optimize function core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php Optimizes an asset.
CacheContextsManager::optimizeTokens function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Optimizes cache context tokens (the minimal representative subset).
CacheContextsManagerTest::providerTestOptimizeTokens function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Provides a list of context token sets.
CacheContextsManagerTest::testOptimizeTokens function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @covers ::optimizeTokens
charset.css.optimized.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/charset.css.optimized.css html{font-family:"sans-serif";}
comment_hacks.css.optimized.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/comment_hacks.css.optimized.css .test1{display:block;}html .clear-block{height:1%;}.clear-block{display:block;font:italic bold 12px/30px…
CssCollectionOptimizer class core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Optimizes CSS assets.
CssCollectionOptimizer.php file core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php
CssCollectionOptimizer::$dumper property core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php An asset dumper.
CssCollectionOptimizer::$fileSystem property core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php The file system service.
CssCollectionOptimizer::$grouper property core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php A CSS asset grouper.
CssCollectionOptimizer::$optimizer property core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php A CSS asset optimizer.
CssCollectionOptimizer::$state property core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php The state key/value store.
CssCollectionOptimizer::deleteAll function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Deletes all optimized asset collections assets.
CssCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Generate a hash for a given group of CSS assets.
CssCollectionOptimizer::getAll function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Returns all optimized asset collections assets.
CssCollectionOptimizer::optimize function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php 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/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Constructs a CssCollectionOptimizer.
CssCollectionOptimizerLazy class core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php Optimizes CSS assets.
CssCollectionOptimizerLazy.php file core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php
CssCollectionOptimizerLazy::deleteAll function core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php Deletes all optimized asset collections assets.
CssCollectionOptimizerLazy::getAll function core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php Returns all optimized asset collections assets.
CssCollectionOptimizerLazy::optimize function core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php Optimizes a collection of assets.
CssCollectionOptimizerLazy::optimizeGroup function core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php Optimizes a specific group of assets.
CssCollectionOptimizerLazy::__construct function core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php Constructs a CssCollectionOptimizerLazy.
CssCollectionOptimizerLazyUnitTest class core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Tests the CSS asset optimizer.
CssCollectionOptimizerLazyUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php
CssCollectionOptimizerLazyUnitTest::testCssImport function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Tests that CSS imports with strange letters do not destroy the CSS output.
CssCollectionOptimizerLazyUnitTest::testCssLicenseAggregation function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php Test that license information is added correctly to aggregated CSS.
CssCollectionOptimizerUnitTest class core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php Tests the CSS asset optimizer.
CssCollectionOptimizerUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php
CssCollectionOptimizerUnitTest::$dumperData property core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php The data from the dumper.
CssCollectionOptimizerUnitTest::$optimizer property core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php A CSS Collection optimizer.
CssCollectionOptimizerUnitTest::testCssImport function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php Tests that CSS imports with strange letters do not destroy the CSS output.
CssCollectionOptimizerUnitTest::testCssLicenseAggregation function core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php Tests that CSS imports with strange letters do not destroy the CSS output.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.