1
|
<?php
|
2
|
|
3
|
/**
|
4
|
* @file
|
5
|
*/
|
6
|
|
7
|
/**
|
8
|
* Implements hook_default_export_tests().
|
9
|
*/
|
10
|
function ctools_export_test_default_ctools_export_tests() {
|
11
|
$ctools_export_tests = array();
|
12
|
|
13
|
$ctools_export_test = new stdClass();
|
14
|
$ctools_export_test->disabled = FALSE; /* Edit this to true to make a default export_test disabled initially */
|
15
|
$ctools_export_test->api_version = 1;
|
16
|
$ctools_export_test->machine = 'overridden_test';
|
17
|
$ctools_export_test->title = 'Overridden test';
|
18
|
$ctools_export_test->number = 1;
|
19
|
$ctools_export_test->data = array(
|
20
|
'test_1' => 'Test 1',
|
21
|
'test_2' => 'Test 2',
|
22
|
);
|
23
|
$ctools_export_tests['overridden_test'] = $ctools_export_test;
|
24
|
|
25
|
$ctools_export_test = new stdClass();
|
26
|
$ctools_export_test->disabled = FALSE; /* Edit this to true to make a default export_test disabled initially */
|
27
|
$ctools_export_test->api_version = 1;
|
28
|
$ctools_export_test->machine = 'default_test';
|
29
|
$ctools_export_test->title = 'Default test';
|
30
|
$ctools_export_test->number = 2;
|
31
|
$ctools_export_test->data = '';
|
32
|
$ctools_export_tests['default_test'] = $ctools_export_test;
|
33
|
|
34
|
return $ctools_export_tests;
|
35
|
}
|