Files
Clameurs/sites/all/modules/features/page/page.features.inc
T

33 lines
667 B
PHP

<?php
/**
* @file
* page.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function page_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_node_info().
*/
function page_node_info() {
$items = array(
'page' => array(
'name' => t('Page'),
'base' => 'node_content',
'description' => t('Use this content type to add static pages like "about" "contact" etc'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}