You are here

public function ExtraFieldBlockPlugin::defaultConfiguration in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x 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 131

Class

ExtraFieldBlockPlugin
Define extra field block type.

Namespace

Drupal\entity_extra_field\Plugin\ExtraFieldType

Code

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