You are here

public function FormatterPlugin::__construct in Blazy 7

Constructs a BlazyFormatter instance.

File

src/Plugin/Field/FieldFormatter/FormatterPlugin.php, line 33

Class

FormatterPlugin
Blazy formatter plugin initializer.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function __construct(BlazyFormatter $formatter, BlazyManagerInterface $manager) {
  $this->formatter = $formatter;
  $this->manager = $manager;
}