showroom.features.inc 713 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * @file
  4. * showroom.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function showroom_ctools_plugin_api($module = NULL, $api = NULL) {
  10. if ($module == "field_group" && $api == "field_group") {
  11. return array("version" => "1");
  12. }
  13. if ($module == "strongarm" && $api == "strongarm") {
  14. return array("version" => "1");
  15. }
  16. }
  17. /**
  18. * Implements hook_node_info().
  19. */
  20. function showroom_node_info() {
  21. $items = array(
  22. 'showroom' => array(
  23. 'name' => t('Showroom'),
  24. 'base' => 'node_content',
  25. 'description' => '',
  26. 'has_title' => '1',
  27. 'title_label' => t('Nom'),
  28. 'help' => '',
  29. ),
  30. );
  31. drupal_alter('node_info', $items);
  32. return $items;
  33. }