You are here

public function BlazyManager::getImage in Blazy 8.2

Same name and namespace in other branches
  1. 8 src/BlazyManager.php \Drupal\blazy\BlazyManager::getImage()

Deprecated method.

Deprecated

in blazy:8.x-2.0 and is removed from blazy:8.x-3.0. Use self::getBlazy() instead.

See also

https://www.drupal.org/node/3103018

File

src/BlazyManager.php, line 557

Class

BlazyManager
Implements a public facing blazy manager.

Namespace

Drupal\blazy

Code

public function getImage(array $build = []) {
  @trigger_error('getImage is deprecated in blazy:8.x-2.0 and is removed from blazy:8.x-3.0. Use \\Drupal\\blazy\\BlazyManager::getBlazy() instead. See https://www.drupal.org/node/3103018', E_USER_DEPRECATED);
  return $this
    ->getBlazy($build);
}