function ResponsiveImageBuilder::__construct

Same name and namespace in other branches
  1. 11.x core/modules/responsive_image/src/ResponsiveImageBuilder.php \Drupal\responsive_image\ResponsiveImageBuilder::__construct()

File

core/modules/responsive_image/src/ResponsiveImageBuilder.php, line 18

Class

ResponsiveImageBuilder
Provides methods related to building responsive image source attributes.

Namespace

Drupal\responsive_image

Code

public function __construct(protected EntityTypeManagerInterface $entityTypeManager, protected MimeTypeMapInterface $mimeTypeMap, protected ImageFactory $imageFactory, protected FileUrlGeneratorInterface $fileUrlGenerator) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.