public function GridStackFileFormatterBase::__construct in GridStack 8
Constructs a GridStackImageFormatter instance.
File
- src/
Plugin/ Field/ FieldFormatter/ GridStackFileFormatterBase.php, line 24
Class
- GridStackFileFormatterBase
- Base class for gridstack image and file ER formatters.
Namespace
Drupal\gridstack\Plugin\Field\FieldFormatterCode
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, BlazyFormatterManager $blazy_manager, GridStackFormatterInterface $formatter, GridStackManagerInterface $manager) {
parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $label, $view_mode, $third_party_settings, $blazy_manager);
$this->formatter = $formatter;
$this->manager = $manager;
}