class GridStackImageFormatter in GridStack 8
Same name and namespace in other branches
- 8.2 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
- class \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackImageFormatter uses GridStackFormatterTrait
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 {
use GridStackFormatterTrait;
}