VideoJsPlayerFormatterBase.php in Video.js (HTML5 Video Player) 8
Contains \Drupal\videojs\Plugin\Field\FieldFormatter\VideJsPlayerFormatterBase.
File
src/Plugin/Field/FieldFormatter/VideoJsPlayerFormatterBase.phpView source
<?php
/**
* @file
* Contains \Drupal\videojs\Plugin\Field\FieldFormatter\VideJsPlayerFormatterBase.
*/
namespace Drupal\videojs\Plugin\Field\FieldFormatter;
use Drupal\Core\Field\EntityReferenceFieldItemListInterface;
use Drupal\field\FieldConfigInterface;
use Drupal\file\Plugin\Field\FieldFormatter\FileFormatterBase;
/**
* Base class for video player file formatters.
*/
abstract class VideoJsPlayerFormatterBase extends FileFormatterBase {
/**
* {@inheritdoc}
*/
protected function getEntitiesToView(EntityReferenceFieldItemListInterface $items, $langcode) {
return parent::getEntitiesToView($items, $langcode);
}
}
Classes
Name | Description |
---|---|
VideoJsPlayerFormatterBase | Base class for video player file formatters. |