class TestExtractor
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/icon_test/src/Plugin/IconExtractor/TestExtractor.php \Drupal\icon_test\Plugin\IconExtractor\TestExtractor
Test plugin implementation of the icon_extractor.
Attributes
#[IconExtractor(id: 'test', label: new TranslatableMarkup('Test'), description: new TranslatableMarkup('Test extractor.'), forms: [
'settings' => IconPackExtractorForm::class,
])]
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Theme\Icon\IconExtractorBase implements \Drupal\Core\Theme\Icon\IconExtractorInterface, \Drupal\Core\Plugin\PluginWithFormsInterface uses \Drupal\Core\Plugin\PluginWithFormsTrait extends \Drupal\Component\Plugin\PluginBase
- class \Drupal\icon_test\Plugin\IconExtractor\TestExtractor extends \Drupal\Core\Theme\Icon\IconExtractorBase
- class \Drupal\Core\Theme\Icon\IconExtractorBase implements \Drupal\Core\Theme\Icon\IconExtractorInterface, \Drupal\Core\Plugin\PluginWithFormsInterface uses \Drupal\Core\Plugin\PluginWithFormsTrait extends \Drupal\Component\Plugin\PluginBase
Expanded class hierarchy of TestExtractor
1 file declares its use of TestExtractor
- ExtractorTest.php in core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ Plugin/ ExtractorTest.php
File
-
core/
modules/ system/ tests/ modules/ icon_test/ src/ Plugin/ IconExtractor/ TestExtractor.php, line 15
Namespace
Drupal\icon_test\Plugin\IconExtractorView source
class TestExtractor extends IconExtractorBase {
/**
* {@inheritdoc}
*/
public function discoverIcons() : array {
return [];
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.