You are here

public function MockProvider::getPluginId in Video Embed Field 8

Same name and namespace in other branches
  1. 8.2 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::getPluginId()

Gets the plugin_id of the plugin instance.

Return value

string The plugin_id of the plugin instance.

Overrides PluginInspectionInterface::getPluginId

File

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

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 getPluginId() {
  return 'foo';
}