You are here

protected static function InsertFileWidget::util in Insert 8

Return value

InsertFileWidgetUtility

File

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

Class

InsertFileWidget
Plugin implementation of the Insert File widget. This is just a barebone set of overwritten methods. All actual logic is deferred to \Drupal\insert\Utility\Utility as that may be overwritten in other Insert widgets covering other field types.

Namespace

Drupal\insert\Plugin\Field\FieldWidget

Code

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