function IconExtractorWithFinder::create
Overrides ContainerFactoryPluginInterface::create
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconExtractorWithFinder.php, line 50
Class
- IconExtractorWithFinder
- Base class for icon_extractor plugins.
Namespace
Drupal\Core\Theme\IconCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) : self {
return new static($configuration, $plugin_id, $plugin_definition, $container->get(IconFinder::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.