You are here

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

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ExtraFieldTypePluginBase::defaultConfiguration

File

src/Plugin/ExtraFieldType/ExtraFieldViewsPlugin.php, line 25

Class

ExtraFieldViewsPlugin
Define extra field views plugin.

Namespace

Drupal\entity_extra_field\Plugin\ExtraFieldType

Code

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