function IconFinder::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Theme/Icon/IconFinder.php \Drupal\Core\Theme\Icon\IconFinder::__construct()
Constructs a new IconFinder object.
Parameters
\Drupal\Core\File\FileUrlGeneratorInterface $fileUrlGenerator: The file URL generator service.
\Psr\Log\LoggerInterface $logger: A logger instance.
string $appRoot: The application root.
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconFinder.php, line 105
Class
- IconFinder
- Icon finder to discover files under specific paths or URLs.
Namespace
Drupal\Core\Theme\IconCode
public function __construct(private readonly FileUrlGeneratorInterface $fileUrlGenerator, private readonly LoggerInterface $logger, private readonly string $appRoot) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.