You are here

public function PatternSourceBase::defaultConfiguration in UI Patterns 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

File

src/Plugin/PatternSourceBase.php, line 43

Class

PatternSourceBase
Base class for UI Patterns Source plugins.

Namespace

Drupal\ui_patterns\Plugin

Code

public function defaultConfiguration() {
  return [
    'context' => [],
  ];
}