You are here

function mostpopular_disqus_mostpopular_service_info in Drupal Most Popular 7

Implements hook_mostpopular_service_info().

See also

hook_mostpopular_service_info()

File

modules/mostpopular_disqus/mostpopular_disqus.module, line 21
Uses the Disqus.com API to provide Most Popular data.

Code

function mostpopular_disqus_mostpopular_service_info() {
  $info = array();
  $info['commented'] = array(
    'name' => t('Disqus Most Commented'),
    'title' => t('Commented'),
    'entity_types' => TRUE,
  );
  return $info;
}