Mercurial > hg > isophonics-drupal-site
annotate core/modules/hal/src/LinkManager/LinkManagerInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\hal\LinkManager; |
Chris@0 | 4 |
Chris@0 | 5 /** |
Chris@0 | 6 * Interface implemented by link managers. |
Chris@0 | 7 * |
Chris@0 | 8 * There are no explicit methods on the manager interface. Instead link managers |
Chris@0 | 9 * broker the interactions of the different components, and therefore must |
Chris@0 | 10 * implement each component interface, which is enforced by this interface |
Chris@0 | 11 * extending all of the component ones. |
Chris@0 | 12 * |
Chris@0 | 13 * While a link manager may directly implement these interface methods with |
Chris@0 | 14 * custom logic, it is expected to be more common for plugin managers to proxy |
Chris@0 | 15 * the method invocations to the respective components. |
Chris@0 | 16 */ |
Chris@0 | 17 interface LinkManagerInterface extends TypeLinkManagerInterface, RelationLinkManagerInterface { |
Chris@0 | 18 } |