MicrositeMenuLinkDiscoveryInterface.php in Entity Reference Hierarchy 8.2
Same filename and directory in other branches
Namespace
Drupal\entity_hierarchy_micrositeFile
modules/entity_hierarchy_microsite/src/MicrositeMenuLinkDiscoveryInterface.phpView source
<?php
namespace Drupal\entity_hierarchy_microsite;
use Drupal\entity_hierarchy_microsite\Entity\MicrositeInterface;
/**
* Defines a class for microsite menu link discovery.
*/
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 getMenuLinkDefintions(MicrositeInterface $microsite = NULL);
}
Interfaces
Name | Description |
---|---|
MicrositeMenuLinkDiscoveryInterface | Defines a class for microsite menu link discovery. |