You are here

public function ShareMessage::getPluginDefinition in Share Message 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 ShareMessageInterface::getPluginDefinition

File

src/Entity/ShareMessage.php, line 228

Class

ShareMessage
Entity class for the Share Message entity.

Namespace

Drupal\sharemessage\Entity

Code

public function getPluginDefinition() {

  /** @var \Drupal\sharemessage\SharePluginBase $share_plugin */
  $share_plugin = $this
    ->getPlugin();
  return $share_plugin
    ->getPluginDefinition();
}