function OEmbedIframeControllerTest::providerBadHashParameter
Same name and namespace in other branches
- 9 core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php \Drupal\Tests\media\Kernel\OEmbedIframeControllerTest::providerBadHashParameter()
- 10 core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php \Drupal\Tests\media\Kernel\OEmbedIframeControllerTest::providerBadHashParameter()
- 11.x core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php \Drupal\Tests\media\Kernel\OEmbedIframeControllerTest::providerBadHashParameter()
Data provider for testBadHashParameter().
Return value
array
File
-
core/
modules/ media/ tests/ src/ Kernel/ OEmbedIframeControllerTest.php, line 19
Class
- OEmbedIframeControllerTest
- @coversDefaultClass <a href="/api/drupal/core%21modules%21media%21src%21Controller%21OEmbedIframeController.php/class/OEmbedIframeController/8.9.x" title="Controller which renders an oEmbed resource in a bare page (without blocks)." class="local">\Drupal\media\Controller\OEmbedIframeController</a>
Namespace
Drupal\Tests\media\KernelCode
public function providerBadHashParameter() {
return [
'no hash' => [
'',
],
'invalid hash' => [
$this->randomString(),
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.