interface SlickFormatterInterface in Slick Carousel 7.3
Same name and namespace in other branches
- 8.2 src/SlickFormatterInterface.php \Drupal\slick\SlickFormatterInterface
- 8 src/SlickFormatterInterface.php \Drupal\slick\SlickFormatterInterface
Defines re-usable services and functions for slick field plugins.
Hierarchy
- interface \Drupal\slick\SlickFormatterInterface
Expanded class hierarchy of SlickFormatterInterface
All classes that implement SlickFormatterInterface
5 files declare their use of SlickFormatterInterface
- SlickEntityFormatterBase.php in src/
Plugin/ Field/ FieldFormatter/ SlickEntityFormatterBase.php - SlickEntityReferenceFormatterBase.php in src/
Plugin/ Field/ FieldFormatter/ SlickEntityReferenceFormatterBase.php - SlickFormatterBase.php in src/
Plugin/ Field/ FieldFormatter/ SlickFormatterBase.php - SlickFormatterPlugin.php in src/
Plugin/ Field/ FieldFormatter/ SlickFormatterPlugin.php - SlickTextFormatter.php in src/
Plugin/ Field/ FieldFormatter/ SlickTextFormatter.php
File
- src/
SlickFormatterInterface.php, line 8
Namespace
Drupal\slickView source
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);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SlickFormatterInterface:: |
public | function | Gets the thumbnail image using theme_image_style(). | 1 |