You are here

public function EmptyFieldPluginBase::defaultConfiguration in Empty fields 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

2 calls to EmptyFieldPluginBase::defaultConfiguration()
EmptyFieldPluginBase::setConfiguration in src/EmptyFieldPluginBase.php
Sets the configuration for this plugin instance.
EmptyFieldText::defaultConfiguration in src/Plugin/EmptyFields/EmptyFieldText.php
Gets default configuration for this plugin.
1 method overrides EmptyFieldPluginBase::defaultConfiguration()
EmptyFieldText::defaultConfiguration in src/Plugin/EmptyFields/EmptyFieldText.php
Gets default configuration for this plugin.

File

src/EmptyFieldPluginBase.php, line 40

Class

EmptyFieldPluginBase
Defines a base empty field item implementation.

Namespace

Drupal\empty_fields

Code

public function defaultConfiguration() {
  return [];
}