You are here

public function RenderedEntity::defaultConfiguration in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 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\FieldWidgetDisplay

Code

public function defaultConfiguration() {
  return [
    'view_mode' => 'default',
  ] + parent::defaultConfiguration();
}