class SlickImageFormatter in Slick Carousel 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/SlickImageFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickImageFormatter
- 7.3 src/Plugin/Field/FieldFormatter/SlickImageFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickImageFormatter
Plugin implementation of the 'Slick Image' formatter.
Plugin annotation
@FieldFormatter(
id = "slick_image",
label = @Translation("Slick Image"),
description = @Translation("Display the images as a Slick carousel."),
field_types = {"image"},
quickedit = {"editor" = "disabled"}
)
Hierarchy
- class \Drupal\slick\Plugin\Field\FieldFormatter\SlickFileFormatterBase extends \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyFileFormatterBase
- class \Drupal\slick\Plugin\Field\FieldFormatter\SlickImageFormatter uses SlickFormatterTrait
Expanded class hierarchy of SlickImageFormatter
File
- src/
Plugin/ Field/ FieldFormatter/ SlickImageFormatter.php, line 16
Namespace
Drupal\slick\Plugin\Field\FieldFormatterView source
class SlickImageFormatter extends SlickFileFormatterBase {
use SlickFormatterTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SlickFileFormatterBase:: |
public | function | Build the slick carousel elements. | |
SlickFileFormatterBase:: |
public static | function | ||
SlickFileFormatterBase:: |
public static | function | ||
SlickFileFormatterBase:: |
public | function | 1 | |
SlickFileFormatterBase:: |
public | function | ||
SlickFileFormatterBase:: |
public | function | Constructs a SlickImageFormatter instance. | |
SlickFormatterTrait:: |
protected | property | The slick field formatter manager. | |
SlickFormatterTrait:: |
protected | property | The slick field formatter manager. | |
SlickFormatterTrait:: |
public | function | Returns the slick admin service shortcut. | |
SlickFormatterTrait:: |
public | function | Returns the slick field formatter service. | |
SlickFormatterTrait:: |
public static | function | 1 | |
SlickFormatterTrait:: |
public | function | Returns the slick service. | |
SlickFormatterTrait:: |
public | function |