function DevelGenerateBase::getDefaultSettings

Same name in other branches
  1. 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_generate

Code

public function getDefaultSettings() : array {
    $definition = $this->getPluginDefinition();
    return $definition['settings'];
}