groups/modules/commons/commons_pages/commons_pages.features.inc

32 lines
668 B
PHP

<?php
/**
* @file
* commons_pages.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function commons_pages_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_node_info().
*/
function commons_pages_node_info() {
$items = array(
'page' => array(
'name' => t('Page'),
'base' => 'node_content',
'description' => t('Use <em>basic pages</em> for your static content, such as an \'About us\' page.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
return $items;
}