You are here

public function MockProvider::getName in Video Embed Field 8.2

Same name and namespace in other branches
  1. 8 tests/modules/video_embed_field_mock_provider/src/Plugin/video_embed_field/Provider/MockProvider.php \Drupal\video_embed_field_mock_provider\Plugin\video_embed_field\Provider\MockProvider::getName()

Get the name of the video.

Return value

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

Overrides ProviderPluginInterface::getName

File

tests/modules/video_embed_field_mock_provider/src/Plugin/video_embed_field/Provider/MockProvider.php, line 73

Class

MockProvider
A mock video provider for use in tests.

Namespace

Drupal\video_embed_field_mock_provider\Plugin\video_embed_field\Provider

Code

public function getName() {
  return 'Video Name';
}