12345678910111213141516171819202122232425262728293031 |
- <?php
- /**
- * @file
- * ffdn_article.features.inc
- */
- /**
- * Implements hook_views_api().
- */
- function ffdn_article_views_api($module = NULL, $api = NULL) {
- return array("api" => "3.0");
- }
- /**
- * Implements hook_node_info().
- */
- function ffdn_article_node_info() {
- $items = array(
- 'article' => array(
- 'name' => t('Article'),
- 'base' => 'node_content',
- 'description' => t('Utilisez les <em>articles</em> pour des contenus possédant une temporalité tels que des actualités ou des billets de blog.'),
- 'has_title' => '1',
- 'title_label' => t('Title'),
- 'help' => '',
- ),
- );
- drupal_alter('node_info', $items);
- return $items;
- }
|