You are here

public function Link::getDerivativeId in Colossal Menu 2.x

Same name and namespace in other branches
  1. 8 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 529

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

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