You are here

public function FieldFormatterEntityEmbedDisplayBase::defaultConfiguration in Entity Embed 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides EntityEmbedDisplayBase::defaultConfiguration

1 call to FieldFormatterEntityEmbedDisplayBase::defaultConfiguration()
FileFieldFormatter::defaultConfiguration in src/Plugin/entity_embed/EntityEmbedDisplay/FileFieldFormatter.php
Gets default configuration for this plugin.
1 method overrides FieldFormatterEntityEmbedDisplayBase::defaultConfiguration()
FileFieldFormatter::defaultConfiguration in src/Plugin/entity_embed/EntityEmbedDisplay/FileFieldFormatter.php
Gets default configuration for this plugin.

File

src/EntityEmbedDisplay/FieldFormatterEntityEmbedDisplayBase.php, line 182

Class

FieldFormatterEntityEmbedDisplayBase
Base class for field formatter display plugins.

Namespace

Drupal\entity_embed\EntityEmbedDisplay

Code

public function defaultConfiguration() {
  return $this->formatterPluginManager
    ->getDefaultSettings($this
    ->getFieldFormatterId());
}