You are here

MediaElementAudioFieldFormatter.php in MediaElement 8

File

src/Plugin/Field/FieldFormatter/MediaElementAudioFieldFormatter.php
View source
<?php

namespace Drupal\mediaelement\Plugin\Field\FieldFormatter;

use Drupal\file\Plugin\Field\FieldFormatter\FileAudioFormatter;

/**
 * Plugin implementation of the 'mediaelement_file_audio' formatter.
 *
 * @FieldFormatter(
 *   id = "mediaelement_file_audio",
 *   label = @Translation("MediaElement.js Audio"),
 *   field_types = {
 *     "file"
 *   }
 * )
 */
class MediaElementAudioFieldFormatter extends FileAudioFormatter {

  // Include trait with global MediaElement formatter config items.
  use MediaElementFieldFormatterTrait;

}

Classes

Namesort descending Description
MediaElementAudioFieldFormatter Plugin implementation of the 'mediaelement_file_audio' formatter.