diff options
-rw-r--r-- | video.features.inc | 2 | ||||
-rw-r--r-- | video.module | 16 |
2 files changed, 16 insertions, 2 deletions
diff --git a/video.features.inc b/video.features.inc index 10fbc9d..a6176b4 100644 --- a/video.features.inc +++ b/video.features.inc @@ -1,7 +1,7 @@ <?php // include the preset file -module_load_include('inc', 'video', 'includes/video.preset'); +module_load_include('inc', 'video', 'modules/video_ui/video.preset'); /** * Implementation of hook_features_export_options(). 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', + ), + ); +} |