summaryrefslogtreecommitdiff
path: root/app/Module/StoriesModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/StoriesModule.php')
-rw-r--r--app/Module/StoriesModule.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/app/Module/StoriesModule.php b/app/Module/StoriesModule.php
index 61d7d8b40a..b2baba52de 100644
--- a/app/Module/StoriesModule.php
+++ b/app/Module/StoriesModule.php
@@ -1,6 +1,4 @@
<?php
-namespace Fisharebest\Webtrees\Module;
-
/**
* webtrees: online genealogy
* Copyright (C) 2015 webtrees development team
@@ -15,6 +13,8 @@ namespace Fisharebest\Webtrees\Module;
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+namespace Fisharebest\Webtrees\Module;
+
use Fisharebest\Webtrees\Auth;
use Fisharebest\Webtrees\Controller\PageController;
use Fisharebest\Webtrees\Database;
@@ -41,7 +41,12 @@ class StoriesModule extends AbstractModule implements ModuleTabInterface, Module
return /* I18N: Description of the “Stories” module */ I18N::translate('Add narrative stories to individuals in the family tree.');
}
- /** {@inheritdoc} */
+ /**
+ * This is a general purpose hook, allowing modules to respond to routes
+ * of the form module.php?mod=FOO&mod_action=BAR
+ *
+ * @param string $mod_action
+ */
public function modAction($mod_action) {
switch ($mod_action) {
case 'admin_edit':