You are here

public function Link::getPluginDefinition in Colossal Menu 8

Same name and namespace in other branches
  1. 2.x src/Entity/Link.php \Drupal\colossal_menu\Entity\Link::getPluginDefinition()

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/Entity/Link.php, line 533

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

public function getPluginDefinition() {
  return [
    'enabled' => $this
      ->isEnabled(),
  ];
}