VideoPlayerBase.php in Media entity video 8
Same filename and directory in other branches
File
src/Plugin/Field/FieldFormatter/VideoPlayerBase.phpView source
<?php
namespace Drupal\media_entity_video\Plugin\Field\FieldFormatter;
use Drupal\Core\Field\EntityReferenceFieldItemListInterface;
use Drupal\file\Plugin\Field\FieldFormatter\FileFormatterBase;
/**
* Base class for Video Player file formatters.
*/
abstract class VideoPlayerBase extends FileFormatterBase {
/**
* {@inheritdoc}
*/
protected function getEntitiesToView(EntityReferenceFieldItemListInterface $items, $langcode) {
return parent::getEntitiesToView($items, $langcode);
}
}
Classes
Name | Description |
---|---|
VideoPlayerBase | Base class for Video Player file formatters. |