function easychart_field_info in Easychart 7
Same name and namespace in other branches
- 7.3 easychart.module \easychart_field_info()
 - 7.2 easychart.module \easychart_field_info()
 
Implements hook_field_info().
File
- ./
easychart.module, line 98  - Easy Chart module file.
 
Code
function easychart_field_info() {
  return array(
    // We name our field as the associative name of the array.
    'easychart' => array(
      'label' => t('Chart'),
      'default_widget' => 'easychart',
      'default_formatter' => 'easychart_default',
    ),
  );
}