You are here

public function GoogleAdwordsAdminSettings::submitForm in Google AdWords Conversion Tracking 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/GoogleAdwordsAdminSettings.php, line 190
Contains \Drupal\google_adwords\Form\GoogleAdwordsAdminSettings.

Class

GoogleAdwordsAdminSettings
Class GoogleAdwordsAdminSettings.

Namespace

Drupal\google_adwords\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  parent::submitForm($form, $form_state);
  $this
    ->config('google_adwords.adminsettings')
    ->save();
}