You are here

function signup_field_extra_fields in Signup 7

Implements hook_field_extra_fields().

File

./signup.module, line 859
The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…

Code

function signup_field_extra_fields() {
  $types = node_type_get_types();
  $extras = array();
  foreach ($types as $type => $object) {
    $extras['node'][$type]['display']['signup'] = array(
      'label' => t('Signup'),
      'description' => t('Signup form.'),
      'weight' => 10,
    );
  }
  return $extras;
}