public function DevelGenerateBase::getDefaultSettings in Devel 8
Same name and namespace in other branches
- 8.3 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::getDefaultSettings()
- 8.2 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::getDefaultSettings()
- 4.x devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::getDefaultSettings()
Returns the default settings for the plugin.
Return value
array The array of default setting values, keyed by setting names.
Overrides DevelGenerateBaseInterface::getDefaultSettings
1 call to DevelGenerateBase::getDefaultSettings()
- DevelGenerateBase::getSetting in devel_generate/
src/ DevelGenerateBase.php - Returns the array of settings, including defaults for missing settings.
File
- devel_generate/
src/ DevelGenerateBase.php, line 44
Class
- DevelGenerateBase
- Provides a base DevelGenerate plugin implementation.
Namespace
Drupal\devel_generateCode
public function getDefaultSettings() {
$definition = $this
->getPluginDefinition();
return $definition['settings'];
}