You are here

public function SettingsForm::getCacheLevelOptions in Advanced CSS/JS Aggregation 8.4

The getter options for cache level.

Return value

array Return a array with options.

1 call to SettingsForm::getCacheLevelOptions()
SettingsForm::buildForm in src/Form/SettingsForm.php
Form constructor.

File

src/Form/SettingsForm.php, line 57

Class

SettingsForm
Configure advagg settings for this site.

Namespace

Drupal\advagg\Form

Code

public function getCacheLevelOptions() : array {
  return [
    0 => $this
      ->t('Development'),
    1 => $this
      ->t('Low'),
    2 => $this
      ->t('Normal'),
    3 => $this
      ->t('High'),
  ];
}