public function ImageStyles::__construct in Consumer Image Styles 8.3
Same name and namespace in other branches
- 4.x src/Plugin/jsonapi/FieldEnhancer/ImageStyles.php \Drupal\consumer_image_styles\Plugin\jsonapi\FieldEnhancer\ImageStyles::__construct()
File
- src/
Plugin/ jsonapi/ FieldEnhancer/ ImageStyles.php, line 41
Class
- ImageStyles
- Perform additional manipulations to timestamp fields.
Namespace
Drupal\consumer_image_styles\Plugin\jsonapi\FieldEnhancerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ImageStylesProvider $image_styles_provider, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->imageStylesProvider = $image_styles_provider;
$this->entityTypeManager = $entity_type_manager;
}