You are here

function votingapi_votingapi_storage_add_vote in Voting API 7.2

Same name and namespace in other branches
  1. 6.2 votingapi.module \votingapi_votingapi_storage_add_vote()

Implements of hook_votingapi_storage_add_vote().

File

./votingapi.module, line 253
A generalized voting API for Drupal.

Code

function votingapi_votingapi_storage_add_vote(&$vote) {
  drupal_write_record('votingapi_vote', $vote);
}