You are here

public function Entity::defaultConfiguration in Entity Embed 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides EmbedTypeBase::defaultConfiguration

File

src/Plugin/EmbedType/Entity.php, line 100

Class

Entity
Entity embed type.

Namespace

Drupal\entity_embed\Plugin\EmbedType

Code

public function defaultConfiguration() {
  return [
    'entity_type' => 'node',
    'bundles' => [],
    'display_plugins' => [],
    'entity_browser' => '',
    'entity_browser_settings' => [
      'display_review' => 0,
    ],
  ];
}