public function AssetOptimizerInterface::clean
public AssetOptimizerInterface::clean($content)
Removes unwanted content from an asset.
Parameters
string $content: The content of an asset.
Return value
string The cleaned asset's contents.
File
- core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php, line 30
Class
- AssetOptimizerInterface
- Interface defining a service that optimizes an asset.
Namespace
Drupal\Core\AssetCode
public function clean($content);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!AssetOptimizerInterface.php/function/AssetOptimizerInterface::clean/8.1.x