popsu_colloques.features.inc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * @file
  4. * popsu_colloques.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function popsu_colloques_ctools_plugin_api() {
  10. list($module, $api) = func_get_args();
  11. if ($module == "context" && $api == "context") {
  12. return array("version" => "3");
  13. }
  14. list($module, $api) = func_get_args();
  15. if ($module == "field_group" && $api == "field_group") {
  16. return array("version" => "1");
  17. }
  18. list($module, $api) = func_get_args();
  19. if ($module == "page_manager" && $api == "pages_default") {
  20. return array("version" => "1");
  21. }
  22. list($module, $api) = func_get_args();
  23. if ($module == "panels_mini" && $api == "panels_default") {
  24. return array("version" => "1");
  25. }
  26. list($module, $api) = func_get_args();
  27. if ($module == "strongarm" && $api == "strongarm") {
  28. return array("version" => "1");
  29. }
  30. }
  31. /**
  32. * Implements hook_views_api().
  33. */
  34. function popsu_colloques_views_api() {
  35. return array("version" => "3.0");
  36. }
  37. /**
  38. * Implements hook_node_info().
  39. */
  40. function popsu_colloques_node_info() {
  41. $items = array(
  42. 'popsu_colloque' => array(
  43. 'name' => t('Colloque'),
  44. 'base' => 'node_content',
  45. 'description' => t('Ce type de contenu permet de créer la page de synthèse d\'un colloque.'),
  46. 'has_title' => '1',
  47. 'title_label' => t('Titre du colloque'),
  48. 'help' => '',
  49. ),
  50. );
  51. return $items;
  52. }