diff options
author | Fabio Varesano <fax8@13637.no-reply.drupal.org> | 2007-01-03 17:46:19 +0000 |
---|---|---|
committer | Fabio Varesano <fax8@13637.no-reply.drupal.org> | 2007-01-03 17:46:19 +0000 |
commit | 10b8a26d749a372dc75cdea4a280b67ecc33a404 (patch) | |
tree | 415bbc33e8b2e258d39fe3bc43a4a2c3f1463e6f /video.module | |
parent | 45c0491dcf41c537595fdb465625aee806c9f390 (diff) | |
download | video-10b8a26d749a372dc75cdea4a280b67ecc33a404.tar.gz video-10b8a26d749a372dc75cdea4a280b67ecc33a404.tar.bz2 |
Patch #75359 by jrbeeman (http://drupal.org/user/16734):
Add Views module support
Diffstat (limited to 'video.module')
-rw-r--r-- | video.module | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/video.module b/video.module index c906261..2c066e8 100644 --- a/video.module +++ b/video.module @@ -132,6 +132,18 @@ function video_menu($may_cache) { return $items; } + +/** + * Implementation of hook_init() + * Currently just does a check for whether the views module exists and, + * if it does loads the video views module. + */ +function video_init() { + if (module_exist('views')) { + include(drupal_get_path('module', 'video') .'/views_video.inc'); + } +} + /** * Internal Drupal links hook * |