You are here

public function BlazyManagerBase::getImageEffects in Blazy 7

Same name and namespace in other branches
  1. 8.2 src/BlazyManagerBase.php \Drupal\blazy\BlazyManagerBase::getImageEffects()

File

src/BlazyManagerBase.php, line 233

Class

BlazyManagerBase
Implements BlazyManagerInterface.

Namespace

Drupal\blazy

Code

public function getImageEffects() {
  $effects[] = 'blur';
  drupal_alter('blazy_image_effects', $effects);
  $effects = array_unique($effects);
  return array_combine($effects, $effects);
}