public function FileLinkRedirectTest::redirectDataProvider in File Link 8
Same name and namespace in other branches
- 2.0.x tests/src/Functional/FileLinkRedirectTest.php \Drupal\Tests\file_link\Functional\FileLinkRedirectTest::redirectDataProvider()
Data provider.
Return value
array Redirect test data and expectations.
File
- tests/
src/ Functional/ FileLinkRedirectTest.php, line 80
Class
- FileLinkRedirectTest
- Provides functional tests for 'file_link' field type.
Namespace
Drupal\Tests\file_link\FunctionalCode
public function redirectDataProvider() {
return [
[
'/test/redirect/301/md',
3,
'application/octet-stream',
],
[
'/test/redirect/302/md',
3,
'application/octet-stream',
],
];
}