You are here

function mostpopular_ga_mostpopular_service_info in Drupal Most Popular 7

Implements hook_mostpopular_service_info().

See also

hook_mostpopular_service_info()

File

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

Code

function mostpopular_ga_mostpopular_service_info() {
  return array(
    'viewed' => array(
      'name' => t('Google Analytics Most Viewed'),
      'title' => t('Viewed'),
      'entity_types' => TRUE,
    ),
  );
  break;
}