function panopoly_test_node_info in Panopoly 7
Implements hook_node_info().
File
- modules/
panopoly/ panopoly_test/ panopoly_test.features.inc, line 29 - panopoly_test.features.inc
Code
function panopoly_test_node_info() {
$items = array(
'panopoly_test_landing_page' => array(
'name' => t('Test landing page'),
'base' => 'node_content',
'description' => t('Used for the automated tests for making landing pages.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'panopoly_test_page' => array(
'name' => t('Test Page'),
'base' => 'node_content',
'description' => t('Used for the automated tests for making content pages.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => t('This message appears in the system help region when you create a node.'),
),
'panopoly_test_page_simple' => array(
'name' => t('Test Page (without Panelizer)'),
'base' => 'node_content',
'description' => t('Used for the automated tests for making simple content pages. Unlike "Test Page", this content type doesn\'t use Panelizer.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}