You are here

public function OperationsForm::clearAll in Advanced CSS/JS Aggregation 8.2

Clear ALL saved information and aggregates.

File

src/Form/OperationsForm.php, line 338

Class

OperationsForm
Configure advagg settings for this site.

Namespace

Drupal\advagg\Form

Code

public function clearAll() {
  $this
    ->clearAggregates();
  $this->advaggAggregates
    ->deleteAll();
  $this->advaggFiles
    ->deleteAll();
  drupal_set_message($this
    ->t('All AdvAgg cached information and aggregates deleted.'));
}