interface IconExtractorWithFinderInterface

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinderInterface.php \Drupal\Core\Theme\Icon\IconExtractorWithFinderInterface

Interface for icon_extractor plugins.

@internal This API is experimental.

Hierarchy

Expanded class hierarchy of IconExtractorWithFinderInterface

All classes that implement IconExtractorWithFinderInterface

File

core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinderInterface.php, line 13

Namespace

Drupal\Core\Theme\Icon
View source
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;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
IconExtractorInterface::createIcon public function Create the icon definition from an extractor plugin. 1
IconExtractorInterface::description public function Returns the translated plugin description. 1
IconExtractorInterface::discoverIcons public function Get a list of all the icons discovered by this extractor. 5
IconExtractorInterface::label public function Returns the translated plugin label. 1
IconExtractorInterface::loadIcon public function Load an icon object. 1
IconExtractorWithFinderInterface::getFilesFromSources public function Create files data from sources config. 1
PluginFormInterface::buildConfigurationForm public function Form constructor. 45
PluginFormInterface::submitConfigurationForm public function Form submission handler. 41
PluginFormInterface::validateConfigurationForm public function Form validation handler. 30

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