You are here

function sheetnode_field_extra_fields in Sheetnode 7

Same name and namespace in other branches
  1. 7.2 sheetnode.module \sheetnode_field_extra_fields()

Implements hook_field_extra_fields().

File

./sheetnode.module, line 659
Module file for the sheetnode module.

Code

function sheetnode_field_extra_fields() {
  $extra['node']['sheetnode'] = array(
    'form' => array(
      'sheetnode' => array(
        'label' => t('Spreadsheet'),
        'description' => t('Spreadsheet control'),
        'weight' => -1,
      ),
    ),
    'display' => array(
      'sheetnode' => array(
        'label' => t('Spreadsheet'),
        'description' => t('Spreadsheet control'),
        'weight' => -1,
      ),
    ),
  );
  return $extra;
}