Révision 6eb8d15f
Ajouté par Assos Assos il y a presque 10 ans
drupal7/sites/all/modules/views/tests/views_test.module | ||
---|---|---|
31 | 31 |
* Implements hook_views_data(). |
32 | 32 |
*/ |
33 | 33 |
function views_test_views_data() { |
34 |
// Count how often this hook is called. |
|
35 |
$count = variable_get('views_test_views_data_count', 0); |
|
36 |
$count++; |
|
37 |
variable_set('views_test_views_data_count', $count); |
|
34 | 38 |
return variable_get('views_test_views_data', array()); |
35 | 39 |
} |
36 | 40 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules