1234567891011121314151617181920212223242526272829303132 |
- <?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;
- }
|