You are here

function _ndtest_ds_default_settings in Node displays 6.2

Same name and namespace in other branches
  1. 6.3 tests/ndtest.ds_default.inc \_ndtest_ds_default_settings()
  2. 7 tests/ndtest.ds_default.inc \_ndtest_ds_default_settings()

@file Display suite default settings.

1 call to _ndtest_ds_default_settings()
ndtest_ds_default_settings in tests/ndtest.module
Implementation of hook_ds_default_settings().

File

tests/ndtest.ds_default.inc, line 8
Display suite default settings.

Code

function _ndtest_ds_default_settings() {
  $data = array(
    'nd' => array(
      'page' => array(
        'teaser' => array(
          'fields' => array(
            'title' => array(
              'weight' => '-19',
              'format' => 'nd_title_h2_link',
              'region' => 'header',
              'label_value' => 'Title',
              'labelformat' => 'hidden',
            ),
            'author' => array(
              'weight' => '-18',
              'format' => 'ds_author_nolink',
              'region' => 'disabled',
              'label_value' => 'Author',
              'labelformat' => 'hidden',
            ),
            'links' => array(
              'weight' => '-17',
              'format' => '',
              'region' => 'disabled',
              'label_value' => 'Links',
              'labelformat' => 'hidden',
            ),
            'read_more' => array(
              'weight' => '-18',
              'format' => '',
              'region' => 'footer',
              'label_value' => 'Read more',
              'labelformat' => 'hidden',
            ),
            'post_date' => array(
              'weight' => '-19',
              'format' => '',
              'region' => 'disabled',
              'label_value' => 'Post date',
              'labelformat' => 'hidden',
            ),
            'body' => array(
              'weight' => '-20',
              'format' => 'nd_bodyfield',
              'region' => 'middle',
              'label_value' => 'Core body',
              'labelformat' => 'hidden',
            ),
            'terms' => array(
              'weight' => '-20',
              'format' => '',
              'region' => 'disabled',
              'label_value' => 'Taxonomy',
              'labelformat' => 'hidden',
            ),
            'test_key' => array(
              'weight' => '-19',
              'format' => 'ds_eval_code',
              'region' => 'disabled',
              'label_value' => 'Test key',
              'labelformat' => 'hidden',
            ),
          ),
          'status' => 1,
        ),
        'full' => array(
          'fields' => array(
            'title' => array(
              'weight' => '-15',
              'format' => 'nd_title_h1_nolink',
              'region' => 'disabled',
              'label_value' => 'Title',
              'labelformat' => 'hidden',
            ),
            'author' => array(
              'weight' => '-19',
              'format' => 'ds_author_nolink',
              'region' => 'header',
              'label_value' => 'Author',
              'labelformat' => 'hidden',
            ),
            'links' => array(
              'weight' => '-16',
              'format' => '',
              'region' => 'disabled',
              'label_value' => 'Links',
              'labelformat' => 'hidden',
            ),
            'read_more' => array(
              'weight' => '-18',
              'format' => '',
              'region' => 'disabled',
              'label_value' => 'Read more',
              'labelformat' => 'hidden',
            ),
            'post_date' => array(
              'weight' => '-20',
              'format' => '',
              'region' => 'header',
              'label_value' => 'Post date',
              'labelformat' => 'hidden',
            ),
            'body' => array(
              'weight' => '-19',
              'format' => 'nd_bodyfield',
              'region' => 'middle',
              'label_value' => 'Core body',
              'labelformat' => 'hidden',
            ),
            'terms' => array(
              'weight' => '-19',
              'format' => '',
              'region' => 'disabled',
              'label_value' => 'Taxonomy',
              'labelformat' => 'hidden',
            ),
            'test_key' => array(
              'weight' => '-20',
              'format' => 'ds_eval_code',
              'region' => 'footer',
              'label_value' => 'Test key',
              'labelformat' => 'hidden',
            ),
          ),
          'status' => 1,
        ),
      ),
    ),
  );
  return $data;
}