function _easychart_installed_instances in Easychart 7.2
Same name and namespace in other branches
- 7.3 easychart.module \_easychart_installed_instances()
- 7 easychart.module \_easychart_installed_instances()
Define the field instances for our content type.
Return value
array An associative array specifying the instances we wish to add to our new node type.
See also
1 call to _easychart_installed_instances()
- easychart_node_type_insert in ./
easychart.module - Implements hook_node_type_insert().
File
- ./
easychart.module, line 78 - Easychart module file.
Code
function _easychart_installed_instances() {
return array(
'easychart' => array(
'field_name' => 'easychart',
'label' => t('Chart'),
'type' => 'easychart',
'widget' => array(
'type' => 'easychart',
),
'required' => TRUE,
),
);
}