You are here

public function FieldFormatterEntityEmbedDisplayBase::getFieldFormatterId in Entity Embed 8

Returns the field formatter id.

Return value

string|null Returns field formatter id or null.

4 calls to FieldFormatterEntityEmbedDisplayBase::getFieldFormatterId()
FieldFormatterEntityEmbedDisplayBase::calculateDependencies in src/EntityEmbedDisplay/FieldFormatterEntityEmbedDisplayBase.php
Calculates dependencies for the configured plugin.
FieldFormatterEntityEmbedDisplayBase::defaultConfiguration in src/EntityEmbedDisplay/FieldFormatterEntityEmbedDisplayBase.php
Gets default configuration for this plugin.
FieldFormatterEntityEmbedDisplayBase::getFieldFormatter in src/EntityEmbedDisplay/FieldFormatterEntityEmbedDisplayBase.php
Constructs a field formatter.
FieldFormatterEntityEmbedDisplayBase::isApplicableFieldFormatter in src/EntityEmbedDisplay/FieldFormatterEntityEmbedDisplayBase.php
Checks if the field formatter is applicable.
1 method overrides FieldFormatterEntityEmbedDisplayBase::getFieldFormatterId()
ViewModeFieldFormatter::getFieldFormatterId in src/Plugin/entity_embed/EntityEmbedDisplay/ViewModeFieldFormatter.php
Returns the field formatter id.

File

src/EntityEmbedDisplay/FieldFormatterEntityEmbedDisplayBase.php, line 143

Class

FieldFormatterEntityEmbedDisplayBase
Base class for field formatter display plugins.

Namespace

Drupal\entity_embed\EntityEmbedDisplay

Code

public function getFieldFormatterId() {
  return $this
    ->getDerivativeId();
}