You are here

public function MenuLinkContent::getPluginDefinition in Multiversion 8

Same name and namespace in other branches
  1. 8.2 src/Entity/MenuLinkContent.php \Drupal\multiversion\Entity\MenuLinkContent::getPluginDefinition()

Builds up the menu link plugin definition for this entity.

Return value

array The plugin definition corresponding to this entity.

Overrides MenuLinkContent::getPluginDefinition

See also

\Drupal\Core\Menu\MenuLinkTree::$defaults

File

src/Entity/MenuLinkContent.php, line 41

Class

MenuLinkContent

Namespace

Drupal\multiversion\Entity

Code

public function getPluginDefinition() {
  $definition = parent::getPluginDefinition();
  $definition['class'] = 'Drupal\\multiversion\\Plugin\\Menu\\MenuLinkContent';
  return $definition;
}