You are here

public function ExtraFieldBlockPlugin::defaultConfiguration in Entity Extra Field 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/ExtraFieldType/ExtraFieldBlockPlugin.php \Drupal\entity_extra_field\Plugin\ExtraFieldType\ExtraFieldBlockPlugin::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ExtraFieldTypePluginBase::defaultConfiguration

File

src/Plugin/ExtraFieldType/ExtraFieldBlockPlugin.php, line 127

Class

ExtraFieldBlockPlugin
Define extra field block type.

Namespace

Drupal\entity_extra_field\Plugin\ExtraFieldType

Code

public function defaultConfiguration() : array {
  return [
    'block_type' => NULL,
    'block_config' => [],
  ] + parent::defaultConfiguration();
}