public function EmbeddedMediaTest::providerEmbedCodeBasedEmbeddedMedia in Lightning Media 8.3
Data provider for ::testEmbedCodeBasedEmbeddedMedia().
Return value
array[] The test arguments for each scenario.
File
- tests/
src/ FunctionalJavascript/ EmbeddedMediaTest.php, line 44
Class
- EmbeddedMediaTest
- Tests embedding media items in CKEditor using the media browser.
Namespace
Drupal\Tests\lightning_media\FunctionalJavascriptCode
public function providerEmbedCodeBasedEmbeddedMedia() {
return [
[
'video',
'https://www.youtube.com/watch?v=N2_HkWs7OM0',
],
[
'video',
'https://vimeo.com/25585320',
],
[
'tweet',
'https://twitter.com/djphenaproxima/status/879739227617079296',
],
[
'instagram',
'https://www.instagram.com/p/lV3WqOoNDD',
],
];
}