diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-13 08:27:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-13 08:27:32 +0000 |
commit | b87d482b38dd68dfcaf97bc94a6b7ea833117240 (patch) | |
tree | 1ef4f03e691b98455ddce91dfa71e1935e9200dc /modules/story/story.module | |
parent | c1770795e4b8f77f2ebd1f3c1acbb556a751e1fb (diff) | |
download | brdo-b87d482b38dd68dfcaf97bc94a6b7ea833117240.tar.gz brdo-b87d482b38dd68dfcaf97bc94a6b7ea833117240.tar.bz2 |
Last nights updates (under construction):
- added _type() hook so each module can return the content types he/she
implements
Diffstat (limited to 'modules/story/story.module')
-rw-r--r-- | modules/story/story.module | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/story/story.module b/modules/story/story.module index 852ed7053..8c831fad1 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -2,6 +2,7 @@ $module = array("help" => "story_help", "find" => "story_find", + "type" => "story_type", "user" => "story_user", "queue" => "story_queue", "admin" => "story_admin", @@ -53,6 +54,10 @@ function story_help() { <?php } +function story_type() { + return array("story", t("story")); +} + function story_view($node, $page = 1) { global $id, $cid, $op, $moderate, $pid, $subject, $comment, $theme, $mode, $order, $threshold; |