function IconExtractorWithFinder::__construct
Constructs a IconExtractorWithFinder object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Theme\Icon\IconFinder $iconFinder: The icons finder service.
Overrides PluginBase::__construct
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconExtractorWithFinder.php, line 38
Class
- IconExtractorWithFinder
- Base class for icon_extractor plugins.
Namespace
Drupal\Core\Theme\IconCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, IconFinder $iconFinder) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.