popsu_special_pages.features.inc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * @file
  4. * popsu_special_pages.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function popsu_special_pages_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_node_info().
  33. */
  34. function popsu_special_pages_node_info() {
  35. $items = array(
  36. 'popsu_special' => array(
  37. 'name' => t('POPSU / Page spéciale'),
  38. 'base' => 'node_content',
  39. 'description' => t('Ce type de contenu permet de créer des pages spéciales qui mélangent du contenu statique (texte) et des listings. Ex: page présentant les colloques de POPSU 1.'),
  40. 'has_title' => '1',
  41. 'title_label' => t('Titre de la page'),
  42. 'help' => '',
  43. ),
  44. );
  45. return $items;
  46. }