You are here

function node_recur_field_extra_fields in Node recur 7

Implements hook_field_extra_fields().

File

./node_recur.module, line 657

Code

function node_recur_field_extra_fields() {
  $extra = array();
  foreach (array_keys(node_type_get_names()) as $type) {
    if (node_recur_node_form_enabled($type) == TRUE) {
      $extra['node'][$type]['form']['node_recur'] = array(
        'label' => t('Node recurring options'),
        'description' => t('Node recur module form elements'),
        'weight' => 5,
      );
    }
  }
  return $extra;
}