5 * Exposes global functionality for video fields.
8 use Drupal\Core\Entity\EntityInterface;
9 use Drupal\Core\Routing\RouteMatchInterface;
10 use Drupal\file\Entity\File;
11 use Drupal\field\FieldStorageConfigInterface;
12 use Drupal\field\FieldConfigInterface;
15 * Implements hook_theme().
17 function video_theme() {
19 'video_player_formatter' => array(
20 'variables' => array('items' => NULL, 'player_attributes' => NULL)