You are here

function fivestar_widget_info in Fivestar 5

Same name and namespace in other branches
  1. 6.2 includes/fivestar.field.inc \fivestar_widget_info()
  2. 6 fivestar_field.inc \fivestar_widget_info()

Implementation of hook_widget_info().

File

./fivestar_field.inc, line 163
Provides CCK integration for fivestar module

Code

function fivestar_widget_info() {
  return array(
    'stars' => array(
      'label' => t('Stars'),
      'field types' => array(
        'fivestar',
      ),
    ),
    'radios' => array(
      'label' => t('Select list'),
      'field types' => array(
        'fivestar',
      ),
    ),
  );
}