You are here

public function BlazyFilterInterface::buildImageItem in Blazy 8.2

Same name and namespace in other branches
  1. 7 src/Plugin/Filter/BlazyFilterInterface.php \Drupal\blazy\Plugin\Filter\BlazyFilterInterface::buildImageItem()

Returns the faked image item for the image, uploaded or hard-coded.

Parameters

array $build: The content array being modified.

object $node: The HTML DOM object.

1 method overrides BlazyFilterInterface::buildImageItem()
BlazyFilter::buildImageItem in src/Plugin/Filter/BlazyFilter.php
Returns the faked image item for the image, uploaded or hard-coded.

File

src/Plugin/Filter/BlazyFilterInterface.php, line 51

Class

BlazyFilterInterface
Defines re-usable services and functions for blazy plugins.

Namespace

Drupal\blazy\Plugin\Filter

Code

public function buildImageItem(array &$build, &$node);