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
JsOptimizer.php file core/lib/Drupal/Core/Asset/JsOptimizer.php
JsOptimizer::clean function core/lib/Drupal/Core/Asset/JsOptimizer.php Processes the contents of a javascript asset for cleanup.
JsOptimizer::optimize function core/lib/Drupal/Core/Asset/JsOptimizer.php Optimizes an asset.
JsOptimizer::__construct function core/lib/Drupal/Core/Asset/JsOptimizer.php Constructs a new JsOptimizer object.
JsOptimizerUnitTest class core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Tests the JS asset optimizer.
JsOptimizerUnitTest.php file core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php
JsOptimizerUnitTest::$optimizer property core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php A JS asset optimizer.
JsOptimizerUnitTest::providerTestClean function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Provides data for the JS asset cleaning test.
JsOptimizerUnitTest::providerTestOptimize function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Provides data for the JS asset optimize test.
JsOptimizerUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php
JsOptimizerUnitTest::testClean function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Tests cleaning of a JS asset group containing 'type' => 'file'.
JsOptimizerUnitTest::testOptimize function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Tests cleaning of a JS asset group containing 'type' => 'file'.
NoOptimizeCacheContext class core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Non-optimizable context class.
NoOptimizeCacheContext::getCacheableMetadata function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Gets the cacheability metadata for the context.
NoOptimizeCacheContext::getContext function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Returns the string representation of the cache context.
NoOptimizeCacheContext::getLabel function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Returns the label of the cache context.
OptimizedPhpArrayDumper class core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php OptimizedPhpArrayDumper dumps a service container as a serialized PHP array.
OptimizedPhpArrayDumper.php file core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
OptimizedPhpArrayDumper::$aliases property core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php A list of container aliases.
OptimizedPhpArrayDumper::$serialize property core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Whether to serialize service definitions or not.
OptimizedPhpArrayDumper::dump function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
OptimizedPhpArrayDumper::dumpCallable function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps callable to a PHP array.
OptimizedPhpArrayDumper::dumpCollection function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps a collection to a PHP array.
OptimizedPhpArrayDumper::dumpMethodCalls function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps method calls to a PHP array.
OptimizedPhpArrayDumper::dumpValue function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps the value to PHP array format.
OptimizedPhpArrayDumper::escape function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Escapes parameters.
OptimizedPhpArrayDumper::getAliases function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets the aliases as a PHP array.
OptimizedPhpArrayDumper::getArray function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets the service container definition as a PHP array.
OptimizedPhpArrayDumper::getIterator function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets a service iterator in a suitable PHP array format.
OptimizedPhpArrayDumper::getParameterCall function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets a parameter reference in a suitable PHP array format.
OptimizedPhpArrayDumper::getParameters function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets parameters of the container as a PHP array.
OptimizedPhpArrayDumper::getPrivateServiceCall function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets a private service definition in a suitable format.
OptimizedPhpArrayDumper::getReferenceCall function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets a service reference for a reference in a suitable PHP array format.
OptimizedPhpArrayDumper::getServiceCall function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets a service reference for an ID in a suitable PHP array format.
OptimizedPhpArrayDumper::getServiceClosureCall function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets a service closure reference in a suitable PHP array format.
OptimizedPhpArrayDumper::getServiceDefinition function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets a service definition as PHP array.
OptimizedPhpArrayDumper::getServiceDefinitions function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets services of the container as a PHP array.
OptimizedPhpArrayDumper::prepareParameters function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Prepares parameters for the PHP array dumping.
OptimizedPhpArrayDumper::supportsMachineFormat function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Whether this supports the machine-optimized format or not.
OptimizedPhpArrayDumperTest class core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php @coversDefaultClass \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper
@group DependencyInjection
OptimizedPhpArrayDumperTest.php file core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php
OptimizedPhpArrayDumperTest::$containerBuilder property core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php The container builder instance.
OptimizedPhpArrayDumperTest::$containerDefinition property core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php The definition for the container to build in tests.
OptimizedPhpArrayDumperTest::$dumper property core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php The dumper instance.
OptimizedPhpArrayDumperTest::$dumperClass property core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Stores the dumper class to use.
OptimizedPhpArrayDumperTest::$machineFormat property core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Whether the dumper uses the machine-optimized format or not.
OptimizedPhpArrayDumperTest::getAliasesDataProvider function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Data provider for testGetAliases().
OptimizedPhpArrayDumperTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Helper function to return a machine-optimized collection.
OptimizedPhpArrayDumperTest::getDefinitionsDataProvider function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Data provider for testGetServiceDefinitions().
OptimizedPhpArrayDumperTest::getIterator function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Helper function to return a machine-optimized iterator.

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