/[drupal]/drupal/modules/taxonomy/taxonomy.module
ViewVC logotype

Diff of /drupal/modules/taxonomy/taxonomy.module

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

revision 1.532, Sun Nov 1 12:11:10 2009 UTC revision 1.533, Sun Nov 1 14:05:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy.module,v 1.531 2009/10/31 16:06:36 dries Exp $  // $Id: taxonomy.module,v 1.532 2009/11/01 12:11:10 dries Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 1211  function taxonomy_term_title($term) { Line 1211  function taxonomy_term_title($term) {
1211  /**  /**
1212   * Implement hook_field_widget().   * Implement hook_field_widget().
1213   */   */
1214  function taxonomy_field_widget(&$form, &$form_state, $field, $instance, $langcode, $items, $delta = NULL) {  function taxonomy_field_widget(&$form, &$form_state, $field, $instance, $langcode, $items, $delta, $element) {
1215    $element = array(    $element += array(
1216      '#type' => $instance['widget']['type'],      '#type' => $instance['widget']['type'],
1217      '#default_value' => !empty($items) ? $items : array(),      '#default_value' => !empty($items) ? $items : array(),
1218    );    );

Legend:
Removed from v.1.532  
changed lines
  Added in v.1.533

  ViewVC Help
Powered by ViewVC 1.1.2