function public function SettingBase::getDefaultValue

8.x-3.x SettingBase.php public SettingBase::getDefaultValue()

Retrieves the setting's default value.

Return value

string The setting's default value.

Overrides SettingInterface::getDefaultValue

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingBase.php (line 96)

public function getDefaultValue() {
  return isset($this->pluginDefinition['defaultValue']) ? $this->pluginDefinition['defaultValue'] : NULL;
}