You are here

public function ExtraFieldViewsPlugin::defaultConfiguration in Entity Extra Field 8

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

Class

ExtraFieldViewsPlugin
Define extra field views plugin.

Namespace

Drupal\entity_extra_field\Plugin\ExtraFieldType

Code

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