public function BlazyViewsFieldPluginBase::__construct in Blazy 8.2
Same name and namespace in other branches
- 8 src/Plugin/views/field/BlazyViewsFieldPluginBase.php \Drupal\blazy\Plugin\views\field\BlazyViewsFieldPluginBase::__construct()
Constructs a BlazyViewsFieldPluginBase object.
Overrides HandlerBase::__construct
File
- src/
Plugin/ views/ field/ BlazyViewsFieldPluginBase.php, line 35
Class
- BlazyViewsFieldPluginBase
- Defines a base views field plugin to render a preview of supported fields.
Namespace
Drupal\blazy\Plugin\views\fieldCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, BlazyManagerInterface $blazy_manager, BlazyEntityInterface $blazy_entity) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->blazyManager = $blazy_manager;
$this->blazyEntity = $blazy_entity;
}