function FileThemeHooks::__construct

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

File

core/modules/file/src/Hook/FileThemeHooks.php, line 25

Class

FileThemeHooks
Theme hooks for the file module.

Namespace

Drupal\file\Hook

Code

public function __construct(protected FileUrlGeneratorInterface $fileUrlGenerator, protected RendererInterface $renderer) {
}

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