You are here

function google_analytics_entity_extra_field_info in Google Analytics 4.x

Same name and namespace in other branches
  1. 8.3 google_analytics.module \google_analytics_entity_extra_field_info()
  2. 8.2 google_analytics.module \google_analytics_entity_extra_field_info()

Implements hook_entity_extra_field_info().

File

./google_analytics.module, line 381
Drupal Module: Google Analytics.

Code

function google_analytics_entity_extra_field_info() {
  $extra['user']['user']['form']['google_analytics'] = [
    'label' => t('Google Analytics settings'),
    'description' => t('Google Analytics module form element.'),
    'weight' => 3,
  ];
  return $extra;
}