You are here

public function Configuration::setValue in Configuration Management 7.3

File

src/Configuration.php, line 242

Class

Configuration
A generic configuration of the site.

Namespace

Configuration

Code

public function setValue($property, $value) {
  if (!isset($this->property_accessor)) {
    $this->property_accessor = PropertyAccess::createPropertyAccessor();
  }
  return $this->property_accessor
    ->setValue($this->data, $property, $value);
}