function poll_entity_extra_field_info in Poll 8
Implements hook_entity_extra_field_info().
File
- ./
poll.module, line 111 - Collects votes on different topics in the form of multiple choice questions.
Code
function poll_entity_extra_field_info() {
$extra = array();
$extra['poll']['poll']['display']['poll_votes'] = [
'label' => t('Vote form/Results'),
'description' => t('Vote form of the poll or the results depending on current user.'),
'weight' => 0,
];
return $extra;
}