You are here

public function DevelGenerateBase::getDefaultSettings in Devel 8.2

Same name and namespace in other branches
  1. 8.3 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::getDefaultSettings()
  2. 8 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::getDefaultSettings()
  3. 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 52

Class

DevelGenerateBase
Provides a base DevelGenerate plugin implementation.

Namespace

Drupal\devel_generate

Code

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