You are here

function redhen_note_field_extra_fields in RedHen CRM 7

Implements hook_field_extra_fields().

File

modules/redhen_note/redhen_note.module, line 190
Redhen Notes main module

Code

function redhen_note_field_extra_fields() {
  $extra = array();
  $extra['redhen_note']['redhen_note'] = array(
    'form' => array(
      'author' => array(
        'label' => t('Author'),
        'description' => t('Author of the note'),
        'weight' => -5,
      ),
      'created' => array(
        'label' => t('Created date'),
        'description' => t('Date/time the note was created.'),
        'weight' => -4,
      ),
    ),
    'display' => array(
      'author' => array(
        'label' => t('Author'),
        'description' => t('Author of the note.'),
        'weight' => -5,
      ),
      'created' => array(
        'label' => t('Created date'),
        'description' => t('Date/time the note was created.'),
        'weight' => -4,
      ),
    ),
  );
  return $extra;
}