public function InstagramEmbedFormatterTest::providerRender in Media entity Instagram 3.x
Data provider for testRender().
Return value
array
Overrides OEmbedFormatterTest::providerRender
See also
::testRender()
File
- tests/
src/ Functional/ InstagramEmbedFormatterTest.php, line 24
Class
- InstagramEmbedFormatterTest
- Tests for Instagram embed formatter.
Namespace
Drupal\Tests\media_entity_instagram\FunctionalCode
public function providerRender() {
return [
'Instagram' => [
'https://instagram.com/p/B2huuS8AQVq',
'instagram.json',
[],
[
'iframe' => [
'src' => '/media/oembed?url=https%3A//instagram.com/p/B2huuS8AQVq',
'width' => '658',
],
],
],
];
}