You are here

function Sharrre::getSetting in Share Message 8

Gets the setting for $key with overrides if applicable.

Return value

mixed

Overrides SharePluginInterface::getSetting

1 call to Sharrre::getSetting()
Sharrre::buildConfigurationForm in src/Plugin/sharemessage/Sharrre.php
Form constructor.

File

src/Plugin/sharemessage/Sharrre.php, line 111

Class

Sharrre
Sharrre plugin.

Namespace

Drupal\sharemessage\Plugin\sharemessage

Code

function getSetting($key) {
  $override = $this->shareMessage
    ->getSetting('override_default_settings');
  if (isset($override)) {
    return $this->shareMessage
      ->getSetting($key);
  }
}