mailing.features.inc 845 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * @file
  4. * mailing.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function mailing_ctools_plugin_api($module = NULL, $api = NULL) {
  10. if ($module == "elysia_cron" && $api == "default_elysia_cron_rules") {
  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 mailing_node_info() {
  21. $items = array(
  22. 'simplenews' => array(
  23. 'name' => t('Lettre d\'information Simplenews'),
  24. 'base' => 'node_content',
  25. 'description' => t('Une publication de lettre d\'information à envoyer aux adresses de courriel des abonnés.'),
  26. 'has_title' => '1',
  27. 'title_label' => t('Titre'),
  28. 'help' => '',
  29. ),
  30. );
  31. drupal_alter('node_info', $items);
  32. return $items;
  33. }