function IconExtractorBase::buildConfigurationForm

Overrides PluginFormInterface::buildConfigurationForm

File

core/lib/Drupal/Core/Theme/Icon/IconExtractorBase.php, line 49

Class

IconExtractorBase
Base class for icon extractor plugins.

Namespace

Drupal\Core\Theme\Icon

Code

public function buildConfigurationForm(array $form, FormStateInterface $form_state) : array {
    if (!isset($this->configuration['settings'])) {
        return $form;
    }
    return IconExtractorSettingsForm::generateSettingsForm($this->configuration['settings'], $form_state);
}

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