/[drupal]/contributions/modules/geo/modules/geo_field/geo_field.module
ViewVC logotype

Diff of /contributions/modules/geo/modules/geo_field/geo_field.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.27 by vauxia, Tue Nov 17 19:07:21 2009 UTC revision 1.28 by vauxia, Mon Nov 23 20:35:54 2009 UTC
# Line 1  Line 1 
1  <?php // $Id: geo_field.module,v 1.26 2009/11/09 17:44:40 vauxia Exp $  <?php // $Id: geo_field.module,v 1.27 2009/11/17 19:07:21 vauxia Exp $
2    
3  /**  /**
4   * @file   * @file
# Line 168  function geo_field($op, &$node, $field, Line 168  function geo_field($op, &$node, $field,
168          }          }
169        }        }
170        return;        return;
   
     case 'sanitize':  
       geo_set_pre_render($node->content);  
       return;  
171    }    }
172  }  }
173    
174  /**  /**
175   * Implementation of hook_content_is_empty().   * Implementation of hook_content_is_empty().
176   * It's named after the field type (geo), not the module (geo_data).   * It's named after the field type (geo), not the module (geo_field).
177   */   */
178  function geo_content_is_empty($item, $field) {  function geo_content_is_empty($item, $field) {
179    return empty($item['geo']);    return empty($item['geo']);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.3