public function View::defaultConfiguration in Entity Browser 8
Same name in this branch
- 8 src/Plugin/EntityBrowser/Widget/View.php \Drupal\entity_browser\Plugin\EntityBrowser\Widget\View::defaultConfiguration()
- 8 src/Plugin/EntityBrowser/SelectionDisplay/View.php \Drupal\entity_browser\Plugin\EntityBrowser\SelectionDisplay\View::defaultConfiguration()
Same name and namespace in other branches
- 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\SelectionDisplayCode
public function defaultConfiguration() {
return [
'view' => NULL,
'view_display' => NULL,
] + parent::defaultConfiguration();
}