interface MicrositeMenuLinkDiscoveryInterface in Entity Reference Hierarchy 3.x
Same name and namespace in other branches
- 8.2 modules/entity_hierarchy_microsite/src/MicrositeMenuLinkDiscoveryInterface.php \Drupal\entity_hierarchy_microsite\MicrositeMenuLinkDiscoveryInterface
Defines a class for microsite menu link discovery.
Hierarchy
- interface \Drupal\entity_hierarchy_microsite\MicrositeMenuLinkDiscoveryInterface
Expanded class hierarchy of MicrositeMenuLinkDiscoveryInterface
All classes that implement MicrositeMenuLinkDiscoveryInterface
1 file declares its use of MicrositeMenuLinkDiscoveryInterface
- MicrositeMenuItemDeriver.php in modules/
entity_hierarchy_microsite/ src/ Plugin/ Deriver/ MicrositeMenuItemDeriver.php
File
- modules/
entity_hierarchy_microsite/ src/ MicrositeMenuLinkDiscoveryInterface.php, line 10
Namespace
Drupal\entity_hierarchy_micrositeView source
interface MicrositeMenuLinkDiscoveryInterface {
/**
* Gets menu link definitions for the given site or all sites if none given.
*
* @param \Drupal\entity_hierarchy_microsite\Entity\MicrositeInterface|null $microsite
* Microsite.
*
* @return array
* Menu link plugin definitions.
*/
public function getMenuLinkDefinitions(MicrositeInterface $microsite = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MicrositeMenuLinkDiscoveryInterface:: |
public | function | Gets menu link definitions for the given site or all sites if none given. | 1 |