function DevelGenerateBase::getDefaultSettings
Same name in other branches
- 8.x-1.x devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::getDefaultSettings()
- 4.x devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::getDefaultSettings()
Overrides DevelGenerateBaseInterface::getDefaultSettings
2 calls to DevelGenerateBase::getDefaultSettings()
- DevelGenerateBase::getSetting in devel_generate/
src/ DevelGenerateBase.php - Returns the array of settings, including defaults for missing settings.
- TermDevelGenerate::validateDrushParams in devel_generate/
src/ Plugin/ DevelGenerate/ TermDevelGenerate.php - Responsible for validating Drush params.
File
-
devel_generate/
src/ DevelGenerateBase.php, line 84
Class
- DevelGenerateBase
- Provides a base DevelGenerate plugin implementation.
Namespace
Drupal\devel_generateCode
public function getDefaultSettings() : array {
$definition = $this->getPluginDefinition();
return $definition['settings'];
}