You are here

protected function ImageStyle::getImageEffectPluginManager in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/Entity/ImageStyle.php \Drupal\image\Entity\ImageStyle::getImageEffectPluginManager()
  2. 9 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');
}