function public function Theme::setSetting
8.x-3.x Theme.php | public Theme::setSetting($name, $value) |
Sets a value for a theme setting.
Parameters
string $name: Name of the theme setting.
mixed $value: Value to associate with the theme setting.
Class
- Theme
- Defines a theme object.
Namespace
Drupal\bootstrapSource src/Theme.php (line 744)
public function setSetting($name, $value) {
$this->settings()->set($name, $value)->save();
}