Projet

Général

Profil

Révision 7e72b748

Ajouté par Assos Assos il y a plus de 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/ctools_plugin_example/plugins/relationships/relcontext_from_simplecontext.inc
1 1
<?php
2 2

  
3

  
4 3
/**
5 4
 * @file
6
 *
7 5
 * Sample relationship plugin.
8 6
 *
9 7
 * We take a simplecontext, look in it for what we need to make a relcontext, and make it.
......
33 31
  }
34 32

  
35 33
  // You should do error-checking here.
36

  
37 34
  // Create the new context from some element of the parent context.
38 35
  // In this case, we'll pass in the whole context so it can be used to
39 36
  // create the relcontext.
......
47 44
  // We won't configure it in this case.
48 45
  return array();
49 46
}
50

  

Formats disponibles : Unified diff