You are here

function _easychart_installed_fields in Easychart 7.3

Same name and namespace in other branches
  1. 7 easychart.module \_easychart_installed_fields()
  2. 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

easychart_node_type_insert().

1 call to _easychart_installed_fields()
easychart_node_type_insert in ./easychart.module
Implements hook_node_type_insert().

File

./easychart.module, line 65
Easychart module file.

Code

function _easychart_installed_fields() {
  return array(
    'easychart' => array(
      'field_name' => 'easychart',
      'cardinality' => 1,
      'type' => 'easychart',
    ),
  );
}