abstract protected function AssetOptimizer::fixType in Advanced CSS/JS Aggregation 8.3
Same name and namespace in other branches
- 8.4 src/Asset/AssetOptimizer.php \Drupal\advagg\Asset\AssetOptimizer::fixType()
Checks for and if found fixes incorrectly set asset types.
Parameters
array $asset: A core single asset definition array.
1 call to AssetOptimizer::fixType()
- AssetOptimizer::processAssetArray in src/
Asset/ AssetOptimizer.php - Process a core asset array.
2 methods override AssetOptimizer::fixType()
- CssOptimizer::fixType in src/
Asset/ CssOptimizer.php - Checks for and if found fixes incorrectly set asset types.
- JsOptimizer::fixType in src/
Asset/ JsOptimizer.php - Checks for and if found fixes incorrectly set asset types.
File
- src/
Asset/ AssetOptimizer.php, line 21
Class
- AssetOptimizer
- Defines the base AdvAgg optimizer.
Namespace
Drupal\advagg\AssetCode
protected abstract function fixType(array &$asset);