You are here

public function ConfigurationCRUDEvent::getSetting in Configuration Management 7.3

File

src/Events/ConfigurationCRUDEvent.php, line 19

Class

ConfigurationCRUDEvent

Namespace

Configuration\Events

Code

public function getSetting($key) {
  if ($this->settings
    ->containsKey($key)) {
    return $this->settings
      ->get($key)
      ->get();
  }
}