You are here

public function Link::getMetaData in Colossal Menu 8

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

Returns any metadata for this link.

Return value

array The metadata for the menu link.

Overrides MenuLinkInterface::getMetaData

File

src/Entity/Link.php, line 449

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

public function getMetaData() {
  return $this
    ->toArray();
}