public static function SlickFileFormatterBase::create in Slick Carousel 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/SlickFileFormatterBase.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFileFormatterBase::create()
File
- src/
Plugin/ Field/ FieldFormatter/ SlickFileFormatterBase.php, line 32
Class
- SlickFileFormatterBase
- Base class for slick image and file ER formatters.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
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['label'], $configuration['view_mode'], $configuration['third_party_settings'], $container
->get('blazy.formatter.manager'), $container
->get('slick.formatter'), $container
->get('slick.manager'));
}