materio_personal_notes.features.inc 694 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * @file
  4. * materio_personal_notes.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function materio_personal_notes_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 materio_personal_notes_node_info() {
  18. $items = array(
  19. 'note' => array(
  20. 'name' => t('Note'),
  21. 'base' => 'node_content',
  22. 'description' => t('Content type for personal (private) notes'),
  23. 'has_title' => '1',
  24. 'title_label' => t('Title'),
  25. 'help' => '',
  26. ),
  27. );
  28. drupal_alter('node_info', $items);
  29. return $items;
  30. }