View source
<?php
function panopoly_test_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "panelizer" && $api == "panelizer") {
return array(
"version" => "1",
);
}
if ($module == "strongarm" && $api == "strongarm") {
return array(
"version" => "1",
);
}
}
function panopoly_test_views_api($module = NULL, $api = NULL) {
return array(
"api" => "3.0",
);
}
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;
}