public function ShareMessage::getSetting in Share Message 8
Gets the default settings.
Parameters
string $key: The settings key.
Return value
mixed The default settings.
Overrides ShareMessageInterface::getSetting
File
- src/
Entity/ ShareMessage.php, line 237
Class
- ShareMessage
- Entity class for the Share Message entity.
Namespace
Drupal\sharemessage\EntityCode
public function getSetting($key) {
if (!empty($this->settings[$key])) {
return $this->settings[$key];
}
}