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/Widget/View.php \Drupal\entity_browser\Plugin\EntityBrowser\Widget\View::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides WidgetBase::defaultConfiguration
File
- src/
Plugin/ EntityBrowser/ Widget/ View.php, line 43
Class
- View
- Uses a view to provide entity listing in a browser's widget.
Namespace
Drupal\entity_browser\Plugin\EntityBrowser\WidgetCode
public function defaultConfiguration() {
return [
'view' => NULL,
'view_display' => NULL,
] + parent::defaultConfiguration();
}