You are here

public function BlazyConfigEntityBase::getSetting in Blazy 8.2

Returns the value of a setting.

Parameters

string $setting_name: The setting name.

Return value

mixed The setting value.

Overrides BlazyConfigEntityBaseInterface::getSetting

File

src/Dejavu/BlazyConfigEntityBase.php, line 88

Class

BlazyConfigEntityBase
Defines the common configuration entity.

Namespace

Drupal\blazy\Dejavu

Code

public function getSetting($name) {
  return isset($this
    ->getSettings()[$name]) ? $this
    ->getSettings()[$name] : NULL;
}