Enable Advagg.

@command advagg-enable @usage Standard example drush advagg-enable @aliases advagg-en

Fichier

src/Commands/AdvaggCommands.php, line 97

Classe

AdvaggCommands
Advagg commands for Drush 9+.

Namespace

Drupal\advagg\Commands

Code

public function enable() {
    $this->advaggConfig
        ->set('enabled', 1)
        ->save();
    $this->logger()
        ->notice(dt('All Advagg functionality is enabled.'));
}