You are here

public function YoutubeStream::getDescription in Video 8

Same name and namespace in other branches
  1. 8.2 src/StreamWrapper/YoutubeStream.php \Drupal\video\StreamWrapper\YoutubeStream::getDescription()

Returns the description of the stream wrapper for use in the UI.

Return value

string The stream wrapper description.

Overrides StreamWrapperInterface::getDescription

File

src/StreamWrapper/YoutubeStream.php, line 25

Class

YoutubeStream
Defines a YouTube (youtube://) stream wrapper class.

Namespace

Drupal\video\StreamWrapper

Code

public function getDescription() {
  return t('Video served by the YouTube services.');
}