You are here

public static function ImageEffectBase::create in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::create()
  2. 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::create()

File

core/modules/image/src/ImageEffectBase.php, line 56

Class

ImageEffectBase
Provides a base class for image effects.

Namespace

Drupal\image

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('logger.factory')
    ->get('image'));
}