poll_field_extra_fields
- Versions
- 7
poll_field_extra_fields($bundle)
Implements hook_field_extra_fields().
Code
modules/poll/poll.module, line 195
<?php
function poll_field_extra_fields($bundle) {
$extra = array();
if ($bundle == 'poll') {
$extra['choice_wrapper'] = array(
'label' => t('Poll choices'),
'description' => t('Poll module choices.'),
'weight' => -4,
);
$extra['settings'] = array(
'label' => t('Poll settings'),
'description' => t('Poll module settings.'),
'weight' => -3,
);
}
return $extra;
}
?>Login or register to post comments 