function IconFinderInterface::getFilesFromSources

Create files from source paths.

Parameters

string[] $sources: The list of paths or urls.

string $relative_path: The current definition relative path.

Return value

array<string, array<string, string|null>> List of files with metadata.

1 method overrides IconFinderInterface::getFilesFromSources()
IconFinder::getFilesFromSources in core/lib/Drupal/Core/Theme/Icon/IconFinder.php
Create files from source paths.

File

core/lib/Drupal/Core/Theme/Icon/IconFinderInterface.php, line 26

Class

IconFinderInterface
Interface for icon finder.

Namespace

Drupal\Core\Theme\Icon

Code

public function getFilesFromSources(array $sources, string $relative_path) : array;

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