You are here

public function AudioFieldPluginBase::getPluginLibraryVersion in AudioField 8

Parses library to get version number of installed library.

Return value

string The version number of the currently installed library.

1 call to AudioFieldPluginBase::getPluginLibraryVersion()
AudioFieldPluginBase::checkVersion in src/AudioFieldPluginBase.php
Checks to see if this audio plugin version is up to date.
6 methods override AudioFieldPluginBase::getPluginLibraryVersion()
JPlayerAudioPlayer::getPluginLibraryVersion in src/Plugin/AudioPlayer/JPlayerAudioPlayer.php
Parses library to get version number of installed library.
MediaElementAudioPlayer::getPluginLibraryVersion in src/Plugin/AudioPlayer/MediaElementAudioPlayer.php
Parses library to get version number of installed library.
ProjekktorAudioPlayer::getPluginLibraryVersion in src/Plugin/AudioPlayer/ProjekktorAudioPlayer.php
Parses library to get version number of installed library.
SoundManagerAudioPlayer::getPluginLibraryVersion in src/Plugin/AudioPlayer/SoundManagerAudioPlayer.php
Parses library to get version number of installed library.
WavesurferAudioPlayer::getPluginLibraryVersion in src/Plugin/AudioPlayer/WavesurferAudioPlayer.php
Parses library to get version number of installed library.

... See full list

File

src/AudioFieldPluginBase.php, line 146

Class

AudioFieldPluginBase
Base class for audiofield plugins. Includes global functions.

Namespace

Drupal\audiofield

Code

public function getPluginLibraryVersion() {

  // Default to 1. This is implemented in the plugins.
  return '1';
}