You are here

protected function ProviderPluginBase::getVideoId in Video Embed Field 8

Same name and namespace in other branches
  1. 8.2 src/ProviderPluginBase.php \Drupal\video_embed_field\ProviderPluginBase::getVideoId()

Get the ID of the video.

Return value

string The video ID.

6 calls to ProviderPluginBase::getVideoId()
ProviderPluginBase::getLocalThumbnailUri in src/ProviderPluginBase.php
Get the URL to the local thumbnail.
ProviderPluginBase::getName in src/ProviderPluginBase.php
Get the name of the video.
Vimeo::renderEmbedCode in src/Plugin/video_embed_field/Provider/Vimeo.php
Render embed code.
YouTube::getRemoteThumbnailUrl in src/Plugin/video_embed_field/Provider/YouTube.php
Get the URL of the remote thumbnail.
YouTube::renderEmbedCode in src/Plugin/video_embed_field/Provider/YouTube.php
Render embed code.

... See full list

File

src/ProviderPluginBase.php, line 79

Class

ProviderPluginBase
A base for the provider plugins.

Namespace

Drupal\video_embed_field

Code

protected function getVideoId() {
  return $this->videoId;
}