class IconPackExtractorForm
The icon pack extractor form plugin.
@internal This API is experimental.
Hierarchy
- class \Drupal\Core\Plugin\PluginFormBase implements \Drupal\Core\Plugin\PluginFormInterface, \Drupal\Component\Plugin\PluginAwareInterface
- class \Drupal\Core\Theme\Icon\IconPackExtractorForm extends \Drupal\Core\Plugin\PluginFormBase implements \Drupal\Core\Plugin\PluginFormInterface
Expanded class hierarchy of IconPackExtractorForm
6 files declare their use of IconPackExtractorForm
- IconPackExtractorFormTest.php in core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconPackExtractorFormTest.php - PathExtractor.php in core/
lib/ Drupal/ Core/ Theme/ Plugin/ IconExtractor/ PathExtractor.php - SvgExtractor.php in core/
lib/ Drupal/ Core/ Theme/ Plugin/ IconExtractor/ SvgExtractor.php - SvgSpriteExtractor.php in core/
lib/ Drupal/ Core/ Theme/ Plugin/ IconExtractor/ SvgSpriteExtractor.php - TestExtractor.php in core/
modules/ system/ tests/ modules/ icon_test/ src/ Plugin/ IconExtractor/ TestExtractor.php
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconPackExtractorForm.php, line 17
Namespace
Drupal\Core\Theme\IconView source
class IconPackExtractorForm extends PluginFormBase implements PluginFormInterface {
/**
* {@inheritdoc}
*/
public function buildConfigurationForm(array $form, FormStateInterface $form_state) : array {
return $this->plugin
->buildConfigurationForm($form, $form_state);
}
/**
* {@inheritdoc}
*/
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) : void {
$this->plugin
->validateConfigurationForm($form, $form_state);
}
/**
* {@inheritdoc}
*/
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) : void {
$this->plugin
->submitConfigurationForm($form, $form_state);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
IconPackExtractorForm::buildConfigurationForm | public | function | Form constructor. | Overrides PluginFormInterface::buildConfigurationForm | |
IconPackExtractorForm::submitConfigurationForm | public | function | Form submission handler. | Overrides PluginFormInterface::submitConfigurationForm | |
IconPackExtractorForm::validateConfigurationForm | public | function | Form validation handler. | Overrides PluginFormBase::validateConfigurationForm | |
PluginFormBase::$plugin | protected | property | The plugin this form is for. | 4 | |
PluginFormBase::setPlugin | public | function | Sets the plugin for this object. | Overrides PluginAwareInterface::setPlugin | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.