public function SlickFormatterTest::providerTestGetThumbnail in Slick Carousel 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/SlickFormatterTest.php \Drupal\Tests\slick\Kernel\SlickFormatterTest::providerTestGetThumbnail()
Provide test cases for ::testGetThumbnail().
Return value
array An array of tested data.
File
- tests/
src/ Kernel/ SlickFormatterTest.php, line 142
Class
- SlickFormatterTest
- Tests the Slick field rendering using the image field type.
Namespace
Drupal\Tests\slick\KernelCode
public function providerTestGetThumbnail() {
$data[] = [
'',
FALSE,
];
$data[] = [
'public://example.jpg',
TRUE,
];
return $data;
}