Mercurial > hg > cmmr2012-drupal-site
diff core/modules/hal/src/LinkManager/LinkManagerInterface.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/hal/src/LinkManager/LinkManagerInterface.php Thu Jul 05 14:24:15 2018 +0000 @@ -0,0 +1,18 @@ +<?php + +namespace Drupal\hal\LinkManager; + +/** + * Interface implemented by link managers. + * + * There are no explicit methods on the manager interface. Instead link managers + * broker the interactions of the different components, and therefore must + * implement each component interface, which is enforced by this interface + * extending all of the component ones. + * + * While a link manager may directly implement these interface methods with + * custom logic, it is expected to be more common for plugin managers to proxy + * the method invocations to the respective components. + */ +interface LinkManagerInterface extends TypeLinkManagerInterface, RelationLinkManagerInterface { +}