Same name and namespace in other branches
  1. 8.x-2.x src/Plugin/Field/FieldWidget/ExifReadonlyWidget.php \Drupal\exif\Plugin\Field\FieldWidget\ExifReadonlyWidget::create() 1 comment

File

src/Plugin/Field/FieldWidget/ExifReadonlyWidget.php, line 66

Class

ExifReadonlyWidget
Plugin implementation of the 'exif_readonly' widget.

Namespace

Drupal\exif\Plugin\Field\FieldWidget

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
    return new static($plugin_id, $plugin_definition, $configuration['field_definition'], $configuration['settings'], $configuration['third_party_settings'], $container->get('entity_type.manager'));
}