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