You are here

AudioPlayerBase.php in Media entity audio 8.2

Same filename and directory in other branches
  1. 8 src/Plugin/Field/FieldFormatter/AudioPlayerBase.php

File

src/Plugin/Field/FieldFormatter/AudioPlayerBase.php
View 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

Namesort descending Description
AudioPlayerBase Base class for Audio Player file formatters.