Same name in other branches
- 6.0.x src/Form/SettingsForm.php \Drupal\advagg\Form\SettingsForm::getCacheLevelOptions()
- 8.x-4.x src/Form/SettingsForm.php \Drupal\advagg\Form\SettingsForm::getCacheLevelOptions()
The getter options for cache level.
Return value
array Return a array with options.
1 call to SettingsForm::getCacheLevelOptions()
- SettingsForm::buildForm dans src/
Form/ SettingsForm.php
Fichier
-
src/
Form/ SettingsForm.php, line 57
Classe
- SettingsForm
- Configure advagg settings for this site.
Namespace
Drupal\advagg\FormCode
public function getCacheLevelOptions() : array {
return [
0 => $this->t('Development'),
1 => $this->t('Low'),
2 => $this->t('Normal'),
3 => $this->t('High'),
];
}