function protected function CdnCacheTtlThemes::getSettingValue
8.x-3.x CdnCacheTtlThemes.php | protected CdnCacheTtlThemes::getSettingValue(FormStateInterface $form_state) |
Retrieves the setting value used to populate the form.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state: The current form state.
Return value
mixed The setting value.
Overrides SettingBase::getSettingValue
Class
- CdnCacheTtlThemes
- The "cdn_cache_ttl_themes" theme setting.
Namespace
Drupal\bootstrap\Plugin\Setting\Advanced\CdnSource src/Plugin/Setting/Advanced/Cdn/CdnCacheTtlThemes.php (line 46)
protected function getSettingValue(FormStateInterface $form_state) {
return $this->getProvider()->getCacheTtl(ProviderInterface::CACHE_THEMES);
}