function ImageThemeHooks::__construct

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

File

core/modules/image/src/Hook/ImageThemeHooks.php, line 22

Class

ImageThemeHooks
Theme hook implementations for image module.

Namespace

Drupal\image\Hook

Code

public function __construct(protected readonly FileUrlGeneratorInterface $fileUrlGenerator, protected readonly ImageFactory $imageFactory, protected readonly ConfigFactoryInterface $configFactory, protected readonly TimeInterface $time, #[AutowireServiceClosure('logger.channel.image')] protected readonly \Closure $imageLogger) {
}

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