public function ThemeSettings::save in Express 8
Saves the configuration object.
Must invalidate the cache tags associated with the configuration object.
Parameters
bool $has_trusted_data: Set to TRUE if the configuration data has already been checked to ensure it conforms to schema. Generally this is only used during module and theme installation.
Return value
$this
Overrides Config::save
See also
\Drupal\Core\Config\ConfigInstaller::createConfiguration()
File
- themes/
contrib/ bootstrap/ src/ ThemeSettings.php, line 250 - Contains \Drupal\bootstrap\ThemeSettings.
Class
- ThemeSettings
- Provides a configuration API wrapper for runtime merged theme settings.
Namespace
Drupal\bootstrapCode
public function save($has_trusted_data = FALSE) {
parent::save($has_trusted_data);
$this->theme
->getCache('settings')
->deleteAll();
return $this;
}