You are here

public function TamperPluginBase::submitConfigurationForm in Tamper 7

Form submission handler.

Parameters

array &$form: An associative array containing the structure of the form.

array &$form_state: An associative array containing the current state of the form.

Overrides TamperPluginInterface::submitConfigurationForm

File

src/Tamper.php, line 323
Contains TamperPluginBase.

Class

TamperPluginBase
Base class for Tamper plugins.

Code

public function submitConfigurationForm(array &$form, array &$form_state) {
  $this
    ->setConfiguration($form_state['values']['tamper_configuration']);
}