You are here

function vud_votingapi_metadata_alter in Vote Up/Down 6.2

Same name and namespace in other branches
  1. 6.3 vud.module \vud_votingapi_metadata_alter()
  2. 7.2 vud.module \vud_votingapi_metadata_alter()
  3. 7 vud.module \vud_votingapi_metadata_alter()

Implementation of hook_votingapi_metadata_alter().

File

./vud.module, line 248

Code

function vud_votingapi_metadata_alter(&$data) {
  $data['functions']['positives'] = array(
    'name' => t('Positives'),
    'description' => t('The sum of all positive votes for a content.'),
    'module' => 'vud',
  );
  $data['functions']['negatives'] = array(
    'name' => t('Negatives'),
    'description' => t('The sum of all negative votes for a content.'),
    'module' => 'vud',
  );
}