page.features.inc 667 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * @file
  4. * page.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function page_ctools_plugin_api($module = NULL, $api = NULL) {
  10. if ($module == "strongarm" && $api == "strongarm") {
  11. return array("version" => "1");
  12. }
  13. }
  14. /**
  15. * Implements hook_node_info().
  16. */
  17. function page_node_info() {
  18. $items = array(
  19. 'page' => array(
  20. 'name' => t('Page'),
  21. 'base' => 'node_content',
  22. 'description' => t('Use this content type to add static pages like "about" "contact" etc'),
  23. 'has_title' => '1',
  24. 'title_label' => t('Title'),
  25. 'help' => '',
  26. ),
  27. );
  28. drupal_alter('node_info', $items);
  29. return $items;
  30. }