You are here

function google_analytics_entity_extra_field_info in Google Analytics 8.2

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

Implements hook_entity_extra_field_info().

File

./google_analytics.module, line 379
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;
}