You are here

public function BlazyConfigEntityBase::setSetting in Blazy 8.2

Sets the value of a setting.

Parameters

string $setting_name: The setting name.

string $value: The setting value.

Return value

$this The class instance that this method is called on.

Overrides BlazyConfigEntityBaseInterface::setSetting

File

src/Dejavu/BlazyConfigEntityBase.php, line 95

Class

BlazyConfigEntityBase
Defines the common configuration entity.

Namespace

Drupal\blazy\Dejavu

Code

public function setSetting($name, $value) {
  $this->options['settings'][$name] = $value;
  return $this;
}