public function MockProvider::getPluginDefinition in Video Embed Field 8
Same name and namespace in other branches
- 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::getPluginDefinition()
Gets the definition of the plugin implementation.
Return value
array The plugin definition, as returned by the discovery object used by the plugin manager.
Overrides PluginInspectionInterface::getPluginDefinition
File
- tests/
modules/ video_embed_field_mock_provider/ src/ Plugin/ video_embed_field/ Provider/ MockProvider.php, line 87
Class
- MockProvider
- A mock video provider for use in tests.
Namespace
Drupal\video_embed_field_mock_provider\Plugin\video_embed_field\ProviderCode
public function getPluginDefinition() {
return [];
}