public function MicrositeMenuLinkDiscoveryInterface::getMenuLinkDefintions in Entity Reference Hierarchy 8.2
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::getMenuLinkDefintions()
- MicrositeMenuLinkDiscovery::getMenuLinkDefintions 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_micrositeCode
public function getMenuLinkDefintions(MicrositeInterface $microsite = NULL);