public function GoogleAnalyticsAdminSettingsForm::gtagFieldCallback in Google Analytics 4.x
Callback for both ajax-enabled buttons.
Selects and returns the fieldset with the names in it.
File
- src/
Form/ GoogleAnalyticsAdminSettingsForm.php, line 1147
Class
- GoogleAnalyticsAdminSettingsForm
- Configure Google_Analytics settings for this site.
Namespace
Drupal\google_analytics\FormCode
public function gtagFieldCallback(array &$form, FormStateInterface $form_state) {
return $form['general']['google_analytics_account'];
}