a32db37720f25aa1d96c413edf5860c65d38cd84
[yaffs-website] / web / modules / contrib / video / src / Plugin / Field / FieldFormatter / VideoPlayerFormatterBase.php
1 <?php
2
3 /**
4  * @file
5  * Contains \Drupal\video\Plugin\Field\FieldFormatter\VidePlayerFormatterBase.
6  */
7
8 namespace Drupal\video\Plugin\Field\FieldFormatter;
9
10 use Drupal\Core\Field\EntityReferenceFieldItemListInterface;
11 use Drupal\field\FieldConfigInterface;
12 use Drupal\file\Plugin\Field\FieldFormatter\FileFormatterBase;
13
14 /**
15  * Base class for video player file formatters.
16  */
17 abstract class VideoPlayerFormatterBase extends FileFormatterBase {
18
19   /**
20    * {@inheritdoc}
21    */
22   protected function getEntitiesToView(EntityReferenceFieldItemListInterface $items, $langcode) {
23     return parent::getEntitiesToView($items, $langcode);
24   }
25 }