public function SynonymsBehaviorConfigurableInterface::submitConfigurationForm in Synonyms 8
Process submitted values and generate new configuration.
Parameters
array $form: Your configuration form as it was built in static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: Form state that corresponds to this form.
\Drupal\synonyms\SynonymInterface $synonym_config: Synonym config entity in the context of which the form is being built.
Return value
array Array of new behavior configuration that corresponds to the submitted values in the form
2 methods override SynonymsBehaviorConfigurableInterface::submitConfigurationForm()
- AutocompleteService::submitConfigurationForm in src/
SynonymsService/ Behavior/ AutocompleteService.php - Process submitted values and generate new configuration.
- SelectService::submitConfigurationForm in src/
SynonymsService/ Behavior/ SelectService.php - Process submitted values and generate new configuration.
File
- src/
SynonymsService/ Behavior/ SynonymsBehaviorConfigurableInterface.php, line 63
Class
- SynonymsBehaviorConfigurableInterface
- Interface of a configurable synonyms behavior.
Namespace
Drupal\synonyms\SynonymsService\BehaviorCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state, SynonymInterface $synonym_config);