IconExtractorWithFinderInterface.php

Namespace

Drupal\Core\Theme\Icon

File

core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinderInterface.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Theme\Icon;


/**
 * Interface for icon_extractor plugins.
 *
 * @internal
 *   This API is experimental.
 */
interface IconExtractorWithFinderInterface extends IconExtractorInterface {
    
    /**
     * Create files data from sources config.
     *
     * @return array<string, array<string, string|null>>
     *   List of files with metadata.
     */
    public function getFilesFromSources() : array;

}

Interfaces

Title Deprecated Summary
IconExtractorWithFinderInterface Interface for icon_extractor plugins.

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