public function BlazyViewsFieldPluginBase::blazyEntity in Blazy 7
Returns the blazy entity instance.
File
- src/
Plugin/ views/ field/ BlazyViewsFieldPluginBase.php, line 33
Class
- BlazyViewsFieldPluginBase
- Defines a base views field plugin to render a preview of supported fields.
Namespace
Drupal\blazy\Plugin\views\fieldCode
public function blazyEntity() {
if (!isset($this->blazyEntity)) {
$this->blazyEntity = new BlazyEntity($this
->formatter());
}
return $this->blazyEntity;
}