You are here

function mostpopular_ga_config_form in Drupal Most Popular 7

Implements the 'config_form' callback for the GA View mostpopular service.

Parameters

object $service The service definition.:

array $form_state The current state of the form.:

File

modules/mostpopular_ga/mostpopular_ga.module, line 219
This module uses the Google Analytics API to provide Most Popular data.

Code

function mostpopular_ga_config_form($service, &$form_state) {
  $form = array();
  $form['google_auth'] = array(
    '#type' => 'fieldset',
    '#title' => t('Authenticate with Google'),
    '#description' => l(t('Click here to authenticate and select a Google Analytics site to monitor.'), 'admin/config/system/google-analytics-reports'),
  );
  return $form;
}