protected function ImageStyle::getImageFactory in Drupal 8
Same name and namespace in other branches
- 9 core/modules/image/src/Entity/ImageStyle.php \Drupal\image\Entity\ImageStyle::getImageFactory()
Returns the image factory.
Return value
\Drupal\Core\Image\ImageFactory The image factory.
File
- core/
modules/ image/ src/ Entity/ ImageStyle.php, line 459
Class
- ImageStyle
- Defines an image style configuration entity.
Namespace
Drupal\image\EntityCode
protected function getImageFactory() {
return \Drupal::service('image.factory');
}