You are here

function mostpopular_addthis_mostpopular_service_info in Drupal Most Popular 7

Implements hook_mostpopular_service_info().

See also

hook_mostpopular_service_info()

File

modules/mostpopular_addthis/mostpopular_addthis.module, line 23
Uses the AddThis.com Analytics API to provide Most Popular data.

Code

function mostpopular_addthis_mostpopular_service_info() {
  $info = array();
  $info['shared'] = array(
    'name' => t('AddThis.com Most Shared'),
    'title' => t('Shared'),
    'entity_types' => TRUE,
  );
  return $info;
}