You are here

function advpoll_votingapi_relationships in Advanced Poll 6.3

Same name and namespace in other branches
  1. 6 advpoll.module \advpoll_votingapi_relationships()
  2. 6.2 advpoll.module \advpoll_votingapi_relationships()
  3. 7.3 advpoll.module \advpoll_votingapi_relationships()

Implementation of hook_votingapi_relationships().

File

./advpoll.module, line 1820
Advanced Poll - a sophisticated polling module for voting, elections, and group decision-making.

Code

function advpoll_votingapi_relationships() {
  $relationships[] = array(
    'description' => t('Advanced Poll'),
    'content_type' => 'advpoll',
    'base_table' => 'node',
    'content_id_column' => 'nid',
  );
  return $relationships;
}