You are here

public function MediaImageDecorator::getPluginDefinition in Entity Embed 8

Gets the definition of the plugin implementation.

Return value

array The plugin definition, as returned by the discovery object used by the plugin manager.

Overrides PluginInspectionInterface::getPluginDefinition

File

src/Plugin/entity_embed/EntityEmbedDisplay/MediaImageDecorator.php, line 89

Class

MediaImageDecorator
Decorator on all EntityEmbedDisplays that adds alt and title overriding.

Namespace

Drupal\entity_embed\Plugin\entity_embed\EntityEmbedDisplay

Code

public function getPluginDefinition() {
  return $this->decorated
    ->getPluginDefinition();
}