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