aboutsummaryrefslogtreecommitdiff
path: root/video.module
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-03-15 21:23:37 +0530
committerHeshan <heshan@heidisoft.com>2011-03-15 21:23:37 +0530
commit1689df6273653793d0f2354646fd935f56c6efca (patch)
treef04236e50880571067234a0cc3645cff26e9aa2f /video.module
parent22ea3cf474ec42cf6272fb14a8916240295cff1a (diff)
downloadvideo-1689df6273653793d0f2354646fd935f56c6efca.tar.gz
video-1689df6273653793d0f2354646fd935f56c6efca.tar.bz2
Features integration to the video presets
Diffstat (limited to 'video.module')
-rw-r--r--video.module16
1 files changed, 15 insertions, 1 deletions
diff --git a/video.module b/video.module
index 400398f..4beee74 100644
--- a/video.module
+++ b/video.module
@@ -687,4 +687,18 @@ function rmdirr($dir) {
}
}
@rmdir($dir);
-} \ No newline at end of file
+}
+
+/**
+ * Implementation of hook_features_api()
+ *
+ */
+function video_features_api() {
+ return array(
+ 'video' => array(
+ 'name' => t('Video Presets'),
+ 'default_hook' => 'video_default_presets',
+ 'file' => drupal_get_path('module', 'video') . '/video.features.inc',
+ ),
+ );
+}