You are here

function sheetnode_field_settings in Sheetnode 5

Same name and namespace in other branches
  1. 6 sheetnode.module \sheetnode_field_settings()

Implementation of hook_field_settings().

File

./sheetnode.module, line 443

Code

function sheetnode_field_settings($op, $field) {
  switch ($op) {
    case 'form':
      break;
    case 'save':
      break;
    case 'database columns':
      require_once drupal_get_path('module', 'sheetnode') . '/sheetnode.install';
      $schema = sheetnode_schema();
      $columns['value'] = $schema['sheetnode']['fields']['value'];
      return $columns;
    case 'views data':
      break;
  }
}