You are here

public function View::defaultConfiguration in Entity Browser 8

Same name in this branch
  1. 8 src/Plugin/EntityBrowser/Widget/View.php \Drupal\entity_browser\Plugin\EntityBrowser\Widget\View::defaultConfiguration()
  2. 8 src/Plugin/EntityBrowser/SelectionDisplay/View.php \Drupal\entity_browser\Plugin\EntityBrowser\SelectionDisplay\View::defaultConfiguration()
Same name and namespace in other branches
  1. 8.2 src/Plugin/EntityBrowser/SelectionDisplay/View.php \Drupal\entity_browser\Plugin\EntityBrowser\SelectionDisplay\View::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides SelectionDisplayBase::defaultConfiguration

File

src/Plugin/EntityBrowser/SelectionDisplay/View.php, line 28

Class

View
Displays current selection in a View.

Namespace

Drupal\entity_browser\Plugin\EntityBrowser\SelectionDisplay

Code

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