cms_news.features.inc in Glazed CMS News 7
File
cms_news.features.inc
View source
<?php
function cms_news_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "strongarm" && $api == "strongarm") {
return array(
"version" => "1",
);
}
}
function cms_news_views_api($module = NULL, $api = NULL) {
return array(
"api" => "3.0",
);
}
function cms_news_node_info() {
$items = array(
'news' => array(
'name' => t('News'),
'base' => 'node_content',
'description' => t('Simple page for news without the additional features you expect in a blog (tagging, byline, etc.)'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}