Version 1
[yaffs-website] / web / modules / contrib / video / video.module
diff --git a/web/modules/contrib/video/video.module b/web/modules/contrib/video/video.module
new file mode 100644 (file)
index 0000000..a0587af
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+/**
+ * @file
+ * Exposes global functionality for video fields.
+ */
+
+use Drupal\Core\Entity\EntityInterface;
+use Drupal\Core\Routing\RouteMatchInterface;
+use Drupal\file\Entity\File;
+use Drupal\field\FieldStorageConfigInterface;
+use Drupal\field\FieldConfigInterface;
+
+/**
+ * Implements hook_theme().
+ */
+function video_theme() {
+  return array(
+    'video_player_formatter' => array(
+      'variables' => array('items' => NULL, 'player_attributes' => NULL)
+    ),
+  );
+}
\ No newline at end of file