You are here

public function SocialSharePrivacy::getSetting in Share Message 8

Gets the setting for $key with overrides if applicable.

Return value

mixed

Overrides SharePluginInterface::getSetting

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

File

src/Plugin/sharemessage/SocialSharePrivacy.php, line 95

Class

SocialSharePrivacy
SocialSharePrivacy plugin.

Namespace

Drupal\sharemessage\Plugin\sharemessage

Code

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