public function ConfigurationInterface::submitConfigurationForm in Synonyms 2.0.x
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 provider configuration that corresponds to the submitted values in the form
File
- src/
ProviderInterface/ ConfigurationInterface.php, line 64
Class
- ConfigurationInterface
- Interface of a configurable synonyms provider.
Namespace
Drupal\synonyms\ProviderInterfaceCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state, SynonymInterface $synonym_config);