Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/modules/node.views_template.inc
2 2

  
3 3
/**
4 4
 * @file
5
 * Contains views templates on behalf of the node module.
5
 * Definition of views templates on behalf of the node module.
6 6
 */
7 7

  
8
/**
9
 * Implements hook_views_templates().
10
 */
8 11
function node_views_templates() {
9
  // Only the standard install profile has the image field provided so only show it for it.
12
  // Only the standard install profile has the image field provided so only
13
  // show it for it.
10 14
  if (variable_get('install_profile', 'standard') != 'standard') {
11 15
    return array();
12 16
  }
13
  $view = new view;
17
  $view = new view();
14 18
  $view->name = 'image_gallery';
15 19
  $view->description = 'Shows all images which was uploaded on the "field_image" field';
16 20
  $view->tag = '';

Formats disponibles : Unified diff