Projet

Général

Profil

Révision 01f36513

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/webform/views/webform.views.inc
6 6
 */
7 7

  
8 8
/**
9
 *
9
 * Implements hook_views_data().
10 10
 */
11 11
function webform_views_data() {
12 12
  // Webform table definitions.
......
527 527
      ),
528 528
    ),
529 529
  );
530

  
531
  return $plugins;
532 530
}
533 531

  
534 532
/**
......
544 542
      ($node = node_load($args[0])) && isset($node->webform['components'])) {
545 543
    // This is a view/display that needs its fields expanded. It contains the
546 544
    // webform_all_fields field, has a nid argument to the webform_submission
547
    // table that is a valid node.
548
    // Retrieve the display's fields and remove any fields after the 'webform_all_fields' field.
545
    // table that is a valid node. Retrieve the display's fields and remove any
546
    // fields after the 'webform_all_fields' field.
549 547
    $fields = $view->get_items('field', $display_id);
550 548
    $prototype = $fields[$all_fields_id];
551 549
    $field_index = array_flip(array_keys($fields));

Formats disponibles : Unified diff