You are here

public function Vimeo::getName in Video Embed Field 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/video_embed_field/Provider/Vimeo.php \Drupal\video_embed_field\Plugin\video_embed_field\Provider\Vimeo::getName()

Get the name of the video.

Return value

string A name to represent the video for the given plugin.

Overrides ProviderPluginBase::getName

File

src/Plugin/video_embed_field/Provider/Vimeo.php, line 80

Class

Vimeo
A Vimeo provider plugin.

Namespace

Drupal\video_embed_field\Plugin\video_embed_field\Provider

Code

public function getName() {
  return $this
    ->oEmbedData()->title;
}