summaryrefslogtreecommitdiff
path: root/sites/all/modules/ctools/tests/ctools_export_test/ctools_export_test.default_ctools_export_tests.inc
blob: 9f2dd6c6b268150c90f2d35dc085ca530c06c4f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

/**
 * Implements hook_default_export_tests().
 */
function ctools_export_test_default_ctools_export_tests() {
  $ctools_export_tests = array();

  $ctools_export_test = new stdClass();
  $ctools_export_test->disabled = FALSE; /* Edit this to true to make a default export_test disabled initially */
  $ctools_export_test->api_version = 1;
  $ctools_export_test->machine = 'overridden_test';
  $ctools_export_test->title = 'Overridden test';
  $ctools_export_test->number = 1;
  $ctools_export_test->data = array(
    'test_1' => 'Test 1',
    'test_2' => 'Test 2',
  );
  $ctools_export_tests['overridden_test'] = $ctools_export_test;

  $ctools_export_test = new stdClass();
  $ctools_export_test->disabled = FALSE; /* Edit this to true to make a default export_test disabled initially */
  $ctools_export_test->api_version = 1;
  $ctools_export_test->machine = 'default_test';
  $ctools_export_test->title = 'Default test';
  $ctools_export_test->number = 2;
  $ctools_export_test->data = '';
  $ctools_export_tests['default_test'] = $ctools_export_test;

  return $ctools_export_tests;
}