You are here

public static function Blazy::isCrop in Blazy 8

Checks if an image style contains crop effect.

Deprecated

in blazy:8.x-1.0 and is removed from blazy:8.x-2.0. Use \Drupal\blazy\BlazyManager::isCrop() instead.

See also

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

File

src/Blazy.php, line 516

Class

Blazy
Implements BlazyInterface.

Namespace

Drupal\blazy

Code

public static function isCrop($style = NULL) {
  return \Drupal::service('blazy.manager')
    ->isCrop($style);
}