function ImageStyle::getImageEffectPluginManager

Same name in other branches
  1. 8.9.x core/modules/image/src/Entity/ImageStyle.php \Drupal\image\Entity\ImageStyle::getImageEffectPluginManager()
  2. 10 core/modules/image/src/Entity/ImageStyle.php \Drupal\image\Entity\ImageStyle::getImageEffectPluginManager()
  3. 11.x core/modules/image/src/Entity/ImageStyle.php \Drupal\image\Entity\ImageStyle::getImageEffectPluginManager()

Returns the image effect plugin manager.

Return value

\Drupal\Component\Plugin\PluginManagerInterface The image effect plugin manager.

1 call to ImageStyle::getImageEffectPluginManager()
ImageStyle::getEffects in core/modules/image/src/Entity/ImageStyle.php
Returns the image effects for this style.

File

core/modules/image/src/Entity/ImageStyle.php, line 454

Class

ImageStyle
Defines an image style configuration entity.

Namespace

Drupal\image\Entity

Code

protected function getImageEffectPluginManager() {
    return \Drupal::service('plugin.manager.image.effect');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.