You are here

public function BlazyTextFormatter::__construct in Blazy 7

Constructs a BlazyTextFormatter instance.

Overrides FormatterBase::__construct

File

src/Plugin/Field/FieldFormatter/BlazyTextFormatter.php, line 19

Class

BlazyTextFormatter
Plugin implementation of the 'Blazy Text' formatter to have a grid of texts.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function __construct($plugin_id, $field, $instance, BlazyManagerInterface $formatter) {
  parent::__construct($plugin_id, $field, $instance);
  $this->formatter = $formatter;
}