ImageWidget::$imageFactory

Same name in other branches
  1. 9 core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php \Drupal\image\Plugin\Field\FieldWidget\ImageWidget::imageFactory
  2. 8.9.x core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php \Drupal\image\Plugin\Field\FieldWidget\ImageWidget::imageFactory
  3. 10 core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php \Drupal\image\Plugin\Field\FieldWidget\ImageWidget::imageFactory

The image factory service.

Type: \Drupal\Core\Image\ImageFactory

File

core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php, line 31

Class

ImageWidget
Plugin implementation of the 'image_image' widget.

Namespace

Drupal\image\Plugin\Field\FieldWidget

Code

protected $imageFactory;

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