ffdn_article.features.inc 676 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @file
  4. * ffdn_article.features.inc
  5. */
  6. /**
  7. * Implements hook_views_api().
  8. */
  9. function ffdn_article_views_api($module = NULL, $api = NULL) {
  10. return array("api" => "3.0");
  11. }
  12. /**
  13. * Implements hook_node_info().
  14. */
  15. function ffdn_article_node_info() {
  16. $items = array(
  17. 'article' => array(
  18. 'name' => t('Article'),
  19. 'base' => 'node_content',
  20. 'description' => t('Utilisez les <em>articles</em> pour des contenus possédant une temporalité tels que des actualités ou des billets de blog.'),
  21. 'has_title' => '1',
  22. 'title_label' => t('Title'),
  23. 'help' => '',
  24. ),
  25. );
  26. drupal_alter('node_info', $items);
  27. return $items;
  28. }