summaryrefslogtreecommitdiff
path: root/app/Module/PageMenuModule.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-06-17 23:06:24 +0100
committerGreg Roach <fisharebest@gmail.com>2015-06-17 23:06:24 +0100
commit0ee1319888cc0d02945fb962bd91ef97591f55e4 (patch)
tree668476652476a3e78799458dd285a109b2ef0cd5 /app/Module/PageMenuModule.php
parentf5b8f12352d4ad8c8d17b426d08d98b849c35ebd (diff)
downloadwebtrees-0ee1319888cc0d02945fb962bd91ef97591f55e4.tar.gz
webtrees-0ee1319888cc0d02945fb962bd91ef97591f55e4.tar.bz2
webtrees-0ee1319888cc0d02945fb962bd91ef97591f55e4.zip
Use rel=nofollow instead of hiding links
Diffstat (limited to 'app/Module/PageMenuModule.php')
-rw-r--r--app/Module/PageMenuModule.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/Module/PageMenuModule.php b/app/Module/PageMenuModule.php
index 3a2e6044d5..ce1a4addce 100644
--- a/app/Module/PageMenuModule.php
+++ b/app/Module/PageMenuModule.php
@@ -32,12 +32,20 @@ class PageMenuModule extends AbstractModule implements ModuleMenuInterface {
return /* I18N: Description of the “Edit” module */ I18N::translate('An edit menu for individuals, families, sources, etc.');
}
- /** {@inheritdoc} */
+ /**
+ * The user can re-order menus. Until they do, they are shown in this order.
+ *
+ * @return int
+ */
public function defaultMenuOrder() {
return 10;
}
- /** {@inheritdoc} */
+ /**
+ * A menu, to be added to the main application menu.
+ *
+ * @return Menu|null
+ */
public function getMenu() {
global $controller, $WT_TREE;