summaryrefslogtreecommitdiff
path: root/app/Module/ClippingsCartModule.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/ClippingsCartModule.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/ClippingsCartModule.php')
-rw-r--r--app/Module/ClippingsCartModule.php21
1 files changed, 17 insertions, 4 deletions
diff --git a/app/Module/ClippingsCartModule.php b/app/Module/ClippingsCartModule.php
index f561a85b83..ea72313949 100644
--- a/app/Module/ClippingsCartModule.php
+++ b/app/Module/ClippingsCartModule.php
@@ -41,7 +41,13 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
return /* I18N: Description of the “Clippings cart” module */ I18N::translate('Select records from your family tree and save them as a GEDCOM file.');
}
- /** {@inheritdoc} */
+ /**
+ * What is the default access level for this module?
+ *
+ * Some modules are aimed at admins or managers, and are not generally shown to users.
+ *
+ * @return int
+ */
public function defaultAccessLevel() {
return Auth::PRIV_USER;
}
@@ -465,12 +471,20 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
}
}
- /** {@inheritdoc} */
+ /**
+ * The user can re-order menus. Until they do, they are shown in this order.
+ *
+ * @return int
+ */
public function defaultMenuOrder() {
return 20;
}
- /** {@inheritdoc} */
+ /**
+ * A menu, to be added to the main application menu.
+ *
+ * @return Menu|null
+ */
public function getMenu() {
global $controller, $WT_TREE;
@@ -725,5 +739,4 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
return $out;
}
-
}