protected function SimpleForm::flushAssetCache in Admin CSS 8
Flush the asset cache.
See also
1 call to SimpleForm::flushAssetCache()
- SimpleForm::submitForm in src/
Form/ SimpleForm.php - Form submission handler.
File
- src/
Form/ SimpleForm.php, line 110
Class
- SimpleForm
- SimpleForm with some custom functions and settings.
Namespace
Drupal\admin_css\FormCode
protected function flushAssetCache() {
// Flush the CSS and JS asset file caches.
$this->cssCollectionOptimizer
->deleteAll();
$this->jsCollectionOptimizer
->deleteAll();
_drupal_flush_css_js();
}