Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. IconFinderInterface.php

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;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal