created content types (and feature)

updated video filter
This commit is contained in:
Bachir Soussi Chiadmi
2016-12-23 12:10:20 +01:00
parent 400dd6e9f4
commit 80df12f80c
41 changed files with 5374 additions and 0 deletions
@@ -0,0 +1,51 @@
<?php
/**
* @file
* clameurs.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function clameurs_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "field_group" && $api == "field_group") {
return array("version" => "1");
}
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_node_info().
*/
function clameurs_node_info() {
$items = array(
'documentair' => array(
'name' => t('Documentair'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Titre'),
'help' => '',
),
'episode' => array(
'name' => t('Épisode'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Titre'),
'help' => '',
),
'thematique' => array(
'name' => t('Thematique'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Titre'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}