You are here

public static function SlickFileFormatter::create in Slick Carousel 8.2

Overrides SlickFileFormatterBase::create

File

src/Plugin/Field/FieldFormatter/SlickFileFormatter.php, line 26

Class

SlickFileFormatter
Plugin implementation of the 'Slick File' formatter to get ME within images.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  $instance = parent::create($container, $configuration, $plugin_id, $plugin_definition);
  return self::injectServices($instance, $container, 'entity');
}