SlickFormatterInterface.php in Slick Carousel 7.3
Same filename and directory in other branches
Namespace
Drupal\slickFile
src/SlickFormatterInterface.phpView source
<?php
namespace Drupal\slick;
/**
* Defines re-usable services and functions for slick field plugins.
*/
interface SlickFormatterInterface {
/**
* Gets the thumbnail image using theme_image_style().
*
* @param array $settings
* The array containing: thumbnail_style, etc.
* @param object $item
* The \Drupal\image\Plugin\Field\FieldType\ImageItem object.
*
* @return array
* The renderable array of thumbnail image.
*/
public function getThumbnail(array $settings = [], $item = NULL);
}
Interfaces
Name | Description |
---|---|
SlickFormatterInterface | Defines re-usable services and functions for slick field plugins. |