MenuLinkBase::getMetaData

public MenuLinkBase::getMetaData()

Returns any metadata for this link.

Return value

array The metadata for the menu link.

Overrides MenuLinkInterface::getMetaData

File

core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 101

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function getMetaData() {
  return $this->pluginDefinition['metadata'] ? : array();
}
doc_Drupal
2016-10-29 09:26:24
Comments
Leave a Comment

Please login to continue.