You are here

public function JplayerPlayer::viewElements in jPlayer 8.2

File

src/Plugin/Field/FieldFormatter/JplayerPlayer.php, line 57
Contains \Drupal\jplayer\Plugin\Field\FieldFormatter\JplayerPlayer.

Class

JplayerPlayer
Plugin annotation @FieldFormatter( id = "jplayer_player", label = @Translation("jPlayer - Player"), description = @Translation("Display file fields as an HTML5-compatible with Flash-fallback media player."), field_types = { "file", "text", …

Namespace

Drupal\jplayer\Plugin\Field\FieldFormatter

Code

public function viewElements(FieldItemListInterface $items) {
}