You are here

function date_test_feature_node_info in Date 7.2

Same name and namespace in other branches
  1. 7.3 tests/date_test_feature/date_test_feature.features.inc \date_test_feature_node_info()

Implements hook_node_info().

File

tests/date_test_feature/date_test_feature.features.inc, line 11
date_test_feature.features.inc

Code

function date_test_feature_node_info() {
  $items = array(
    'date_test' => array(
      'name' => t('Date Test'),
      'base' => 'node_content',
      'description' => t('This content type is used for demonstrating and testing migration into Date fields.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );

  // Trigger hook_node_info_alter().
  drupal_alter('node_info', $items);
  return $items;
}