function _node_registration_extra_field in Node registration 7
Helper to add extra fields.
1 call to _node_registration_extra_field()
- node_registration_field_extra_fields in ./node_registration.module 
- Implements hook_field_extra_fields().
File
- ./node_registration.module, line 100 
Code
function _node_registration_extra_field(&$fields, $type, $machine_name, $label, $description) {
  $fields['node_registration'][$type]['form'][$machine_name] = array(
    'label' => $label,
    'description' => $description,
    'weight' => 0,
  );
  $fields['node_registration'][$type]['display'][$machine_name] = array(
    'label' => $label,
    'description' => $description,
    'weight' => 0,
  );
}