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\FieldFormatterCode
public function __construct(BlazyFormatter $formatter, BlazyManagerInterface $manager) {
$this->formatter = $formatter;
$this->manager = $manager;
}