From 1689df6273653793d0f2354646fd935f56c6efca Mon Sep 17 00:00:00 2001 From: Heshan Date: Tue, 15 Mar 2011 21:23:37 +0530 Subject: Features integration to the video presets --- video.module | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'video.module') 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', + ), + ); +} -- cgit v1.2.3