You are here

public function Link::getPluginId in Colossal Menu 8

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

Gets the plugin_id of the plugin instance.

Return value

string The plugin_id of the plugin instance.

Overrides PluginInspectionInterface::getPluginId

File

src/Entity/Link.php, line 526

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

public function getPluginId() {
  return 'colossal_menu_link:' . $this
    ->get('uuid')->value;
}