public function SettingBase::getDefaultValue in Express 8
Retrieves the setting's default value.
Return value
string The setting's default value.
Overrides SettingInterface::getDefaultValue
1 call to SettingBase::getDefaultValue()
- RegionWells::alterFormElement in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ Components/ Region/ RegionWells.php - The alter method to store the code.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingBase.php, line 70 - Contains \Drupal\bootstrap\Plugin\Setting\SettingBase.
Class
- SettingBase
- Base class for a setting.
Namespace
Drupal\bootstrap\Plugin\SettingCode
public function getDefaultValue() {
return isset($this->pluginDefinition['defaultValue']) ? $this->pluginDefinition['defaultValue'] : NULL;
}