You are here

protected function AudioFieldPluginBase::getUniqueRenderId in AudioField 8

Get a unique audofield ID.

Return value

string Unique ID for this audio player.

1 call to AudioFieldPluginBase::getUniqueRenderId()
WavesurferAudioPlayer::renderPlayer in src/Plugin/AudioPlayer/WavesurferAudioPlayer.php
Renders the player.

File

src/AudioFieldPluginBase.php, line 393

Class

AudioFieldPluginBase
Base class for audiofield plugins. Includes global functions.

Namespace

Drupal\audiofield

Code

protected function getUniqueRenderId() {
  return Html::getUniqueId('audiofield');
}