public function SlickFormatterInterface::getThumbnail in Slick Carousel 7.3
Same name and namespace in other branches
- 8.2 src/SlickFormatterInterface.php \Drupal\slick\SlickFormatterInterface::getThumbnail()
Gets the thumbnail image using theme_image_style().
Parameters
array $settings: The array containing: thumbnail_style, etc.
object $item: The \Drupal\image\Plugin\Field\FieldType\ImageItem object.
Return value
array The renderable array of thumbnail image.
1 method overrides SlickFormatterInterface::getThumbnail()
- SlickFormatter::getThumbnail in src/
SlickFormatter.php - Gets the thumbnail image using theme_image_style().
File
- src/
SlickFormatterInterface.php, line 21
Class
- SlickFormatterInterface
- Defines re-usable services and functions for slick field plugins.
Namespace
Drupal\slickCode
public function getThumbnail(array $settings = [], $item = NULL);