[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/features/tests/ -> features_test.features.inc (source)

   1  <?php
   2  
   3  /**
   4   * Implementation of hook_imagecache_default_presets().
   5   */
   6  function features_test_imagecache_default_presets() {
   7    $items = array(
   8      'features_test' => array(
   9        'presetname' => 'features_test',
  10        'actions' => array(
  11          '0' => array(
  12            'weight' => '0',
  13            'module' => 'imagecache',
  14            'action' => 'imagecache_scale',
  15            'data' => array(
  16              'width' => '100%',
  17              'height' => '100%',
  18              'upscale' => 0,
  19            ),
  20          ),
  21        ),
  22      ),
  23    );
  24    return $items;
  25  }
  26  
  27  /**
  28   * Implementation of hook_node_info().
  29   */
  30  function features_test_node_info() {
  31    $items = array(
  32      'features_test' => array(
  33        'name' => t('Testing: Features'),
  34        'module' => 'features',
  35        'description' => t('Content type provided for Features tests.'),
  36        'has_title' => '1',
  37        'title_label' => t('Title'),
  38        'has_body' => '1',
  39        'body_label' => t('Body'),
  40        'min_word_count' => '0',
  41        'help' => '',
  42      ),
  43    );
  44    return $items;
  45  }
  46  
  47  /**
  48   * Implementation of hook_views_api().
  49   */
  50  function features_test_views_api() {
  51    return array(
  52      'api' => '2',
  53    );
  54  }


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7