Same name in other branches
- 5.0.x src/Form/SettingsForm.php \Drupal\advagg\Form\SettingsForm::getCacheLevelOptions()
- 6.0.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 in src/
Form/ SettingsForm.php
File
-
src/
Form/ SettingsForm.php, line 57
Class
- 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'),
];
}