You are here

public function MicrositeMenuLinkDiscoveryInterface::getMenuLinkDefinitions in Entity Reference Hierarchy 3.x

Gets menu link definitions for the given site or all sites if none given.

Parameters

\Drupal\entity_hierarchy_microsite\Entity\MicrositeInterface|null $microsite: Microsite.

Return value

array Menu link plugin definitions.

1 method overrides MicrositeMenuLinkDiscoveryInterface::getMenuLinkDefinitions()
MicrositeMenuLinkDiscovery::getMenuLinkDefinitions in modules/entity_hierarchy_microsite/src/MicrositeMenuLinkDiscovery.php
Gets menu link definitions for the given site or all sites if none given.

File

modules/entity_hierarchy_microsite/src/MicrositeMenuLinkDiscoveryInterface.php, line 21

Class

MicrositeMenuLinkDiscoveryInterface
Defines a class for microsite menu link discovery.

Namespace

Drupal\entity_hierarchy_microsite

Code

public function getMenuLinkDefinitions(MicrositeInterface $microsite = NULL);