You are here

public function Theme::removeSetting in Express 8

Removes a theme setting.

Parameters

string $name: Name of the theme setting to remove.

File

themes/contrib/bootstrap/src/Theme.php, line 722
Contains \Drupal\bootstrap.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Code

public function removeSetting($name) {
  $this
    ->settings()
    ->clear($name)
    ->save();
}