function 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\Icon

Code

public function __construct(FileUrlGeneratorInterface $fileUrlGenerator, LoggerInterface $logger, string $appRoot) {
}

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