class GridStackImageFormatter in GridStack 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/GridStackImageFormatter.php \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackImageFormatter
Plugin implementation of the 'GridStack Image' formatter.
Plugin annotation
@FieldFormatter(
id = "gridstack_image",
label = @Translation("GridStack Image"),
description = @Translation("Display the images as a GridStack."),
field_types = {"image"},
quickedit = {"editor" = "disabled"}
)
Hierarchy
- class \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackFileFormatterBase extends \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyFileFormatterBase uses GridStackFormatterTrait, GridStackFormatterViewTrait
- class \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackImageFormatter
Expanded class hierarchy of GridStackImageFormatter
File
- src/
Plugin/ Field/ FieldFormatter/ GridStackImageFormatter.php, line 16
Namespace
Drupal\gridstack\Plugin\Field\FieldFormatterView source
class GridStackImageFormatter extends GridStackFileFormatterBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GridStackFileFormatterBase:: |
public | function | Build the gridstack carousel elements. | |
GridStackFileFormatterBase:: |
public static | function | 1 | |
GridStackFileFormatterBase:: |
public static | function | ||
GridStackFileFormatterBase:: |
public | function | 1 | |
GridStackFileFormatterBase:: |
public | function | ||
GridStackFormatterTrait:: |
protected | property | The gridstack field formatter manager. | |
GridStackFormatterTrait:: |
protected | property | The logger factory. | |
GridStackFormatterTrait:: |
protected | property | The gridstack field formatter manager. | |
GridStackFormatterTrait:: |
public | function | Returns the gridstack admin service shortcut. | |
GridStackFormatterTrait:: |
public | function | Overrides the blazy manager. | |
GridStackFormatterTrait:: |
public | function | Builds the settings. | |
GridStackFormatterTrait:: |
public | function | Returns the gridstack field formatter service. | |
GridStackFormatterTrait:: |
public | function | Defines the common scope for both front and admin. | |
GridStackFormatterTrait:: |
public | function | Defines the common scope for the form elements. | |
GridStackFormatterTrait:: |
protected static | function | Injects DI services. | |
GridStackFormatterTrait:: |
public static | function | 4 | |
GridStackFormatterTrait:: |
public | function | Returns the gridstack service. | |
GridStackFormatterTrait:: |
public | function | ||
GridStackFormatterViewTrait:: |
public | function | Returns similar view elements. |