public function DeveloperAttributesSettingsForm::submitForm in Apigee Edge 8
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides ConfigFormBase::submitForm
File
- src/
Form/ DeveloperAttributesSettingsForm.php, line 175
Class
- DeveloperAttributesSettingsForm
- Provides a form for changing the developer attribute related settings.
Namespace
Drupal\apigee_edge\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this
->config('apigee_edge.sync')
->set('user_fields_to_sync', array_values(array_filter($form_state
->getValue('attributes'))))
->save();
parent::submitForm($form, $form_state);
}