public function WarmerPluginBase::submitConfigurationForm in Warmer 2.x
Same name and namespace in other branches
- 8 src/Plugin/WarmerPluginBase.php \Drupal\warmer\Plugin\WarmerPluginBase::submitConfigurationForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().
Overrides PluginFormInterface::submitConfigurationForm
2 methods override WarmerPluginBase::submitConfigurationForm()
- CdnWarmer::submitConfigurationForm in modules/
warmer_cdn/ src/ Plugin/ warmer/ CdnWarmer.php - Form submission handler.
- SitemapWarmer::submitConfigurationForm in modules/
warmer_cdn/ src/ Plugin/ warmer/ SitemapWarmer.php - Form submission handler.
File
- src/
Plugin/ WarmerPluginBase.php, line 159
Class
- WarmerPluginBase
- Base class for warmer plugins that implement settings forms.
Namespace
Drupal\warmer\PluginCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this
->setConfiguration($form_state
->getValues() + $this->configuration);
}