diff options
Diffstat (limited to 'app/Module/ModuleMenuInterface.php')
| -rw-r--r-- | app/Module/ModuleMenuInterface.php | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/app/Module/ModuleMenuInterface.php b/app/Module/ModuleMenuInterface.php index c608b69c03..5b6b8ae0c3 100644 --- a/app/Module/ModuleMenuInterface.php +++ b/app/Module/ModuleMenuInterface.php @@ -21,20 +21,21 @@ use Fisharebest\Webtrees\Tree; /** * Interface ModuleMenuInterface - Classes and libraries for module system */ -interface ModuleMenuInterface { - /** - * The user can re-order menus. Until they do, they are shown in this order. - * - * @return int - */ - public function defaultMenuOrder(); +interface ModuleMenuInterface +{ + /** + * The user can re-order menus. Until they do, they are shown in this order. + * + * @return int + */ + public function defaultMenuOrder(); - /** - * A menu, to be added to the main application menu. - * - * @param Tree $tree - * - * @return Menu|null - */ - public function getMenu(Tree $tree); + /** + * A menu, to be added to the main application menu. + * + * @param Tree $tree + * + * @return Menu|null + */ + public function getMenu(Tree $tree); } |
