VideoPlayerFormatterBase.php in Video 8.2
Same filename and directory in other branches
Namespace
Drupal\video\Plugin\Field\FieldFormatterFile
src/Plugin/Field/FieldFormatter/VideoPlayerFormatterBase.phpView source
<?php
namespace Drupal\video\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 VideoPlayerFormatterBase extends FileFormatterBase {
/**
* {@inheritdoc}
*/
protected function getEntitiesToView(EntityReferenceFieldItemListInterface $items, $langcode) {
return parent::getEntitiesToView($items, $langcode);
}
}
Classes
Name | Description |
---|---|
VideoPlayerFormatterBase | Base class for video player file formatters. |