function OEmbedIframeControllerTest::providerBadHashParameter
Same name in other branches
- 9 core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php \Drupal\Tests\media\Kernel\OEmbedIframeControllerTest::providerBadHashParameter()
- 8.9.x 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()
Data provider for testBadHashParameter().
Return value
array
File
-
core/
modules/ media/ tests/ src/ Kernel/ OEmbedIframeControllerTest.php, line 32
Class
- OEmbedIframeControllerTest
- @coversDefaultClass \Drupal\media\Controller\OEmbedIframeController
Namespace
Drupal\Tests\media\KernelCode
public static function providerBadHashParameter() {
return [
'no hash' => [
'',
],
'invalid hash' => [
Random::string(),
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.