function ImageEffectBase::create
Same name in other branches
- 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::create()
- 8.9.x core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::create()
- 11.x core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::create()
Overrides ContainerFactoryPluginInterface::create
File
-
core/
modules/ image/ src/ ImageEffectBase.php, line 56
Class
- ImageEffectBase
- Provides a base class for image effects.
Namespace
Drupal\imageCode
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'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.