You are here

public function Link::getDerivativeId in Colossal Menu 8

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

Gets the derivative_id of the plugin instance.

Return value

string|null The derivative_id of the plugin instance NULL otherwise.

Overrides DerivativeInspectionInterface::getDerivativeId

File

src/Entity/Link.php, line 549

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

public function getDerivativeId() {
  return $this
    ->get('uuid')->value;
}