function advpoll_votingapi_relationships in Advanced Poll 6.3
Same name and namespace in other branches
- 6 advpoll.module \advpoll_votingapi_relationships()
- 6.2 advpoll.module \advpoll_votingapi_relationships()
- 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;
}