You are here

public function YoutubeStream::getName in Video 8.2

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

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

Return value

string The stream wrapper name.

Overrides StreamWrapperInterface::getName

File

src/StreamWrapper/YoutubeStream.php, line 18

Class

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

Namespace

Drupal\video\StreamWrapper

Code

public function getName() {
  return t('YouTube');
}