You are here

protected static function InsertImageWidget::util in Insert 8

Return value

InsertImageWidgetUtility

File

src/Plugin/Field/FieldWidget/InsertImageWidget.php, line 35

Class

InsertImageWidget
Plugin implementation of the Insert Image widget. This is just a barebone set of overwritten methods. All actual logic is deferred to \Drupal\insert\Utility\UtilityImage.

Namespace

Drupal\insert\Plugin\Field\FieldWidget

Code

protected static function util() {
  if (self::$util === null) {
    self::$util = new InsertImageWidgetUtility();
  }
  return self::$util;
}