function OEmbedIframeControllerTest::providerBadHashParameter
Same name 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 \Drupal\media\Controller\OEmbedIframeController
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.