public function RenderedEntity::defaultConfiguration in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Plugin/EntityBrowser/FieldWidgetDisplay/RenderedEntity.php \Drupal\entity_browser\Plugin\EntityBrowser\FieldWidgetDisplay\RenderedEntity::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides FieldWidgetDisplayBase::defaultConfiguration
File
- src/
Plugin/ EntityBrowser/ FieldWidgetDisplay/ RenderedEntity.php, line 122
Class
- RenderedEntity
- Displays the fully rendered entity.
Namespace
Drupal\entity_browser\Plugin\EntityBrowser\FieldWidgetDisplayCode
public function defaultConfiguration() {
return [
'view_mode' => 'default',
] + parent::defaultConfiguration();
}