public function Denormalize::submitConfigurationForm in Search API Grouping 8
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 complete form.
Overrides PluginFormTrait::submitConfigurationForm
See also
\Drupal\Core\Plugin\PluginFormInterface::submitConfigurationForm()
File
- src/
Plugin/ search_api/ processor/ Denormalize.php, line 45
Class
- Denormalize
- This processor allows you to denormalize items.
Namespace
Drupal\search_api_grouping\Plugin\search_api\processorCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$denormalization_field =& $form_state
->getValue('denormalization_field');
$denormalization_field = array_keys(array_filter($denormalization_field));
$this
->setConfiguration($form_state
->getValues());
}