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.

2 calls to Theme::setSetting()
Theme::getPendingUpdates in src/Theme.php
Retrieves pending updates for the theme.
Theme::install in src/Theme.php
Installs a Bootstrap based theme.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Source src/Theme.php (line 737)

public function setSetting($name, $value) {
  $this->settings()->set($name, $value)->save();
}