updated home V2 feature
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_publications.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_publications_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_node_info().
|
||||
*/
|
||||
function materio_publications_node_info() {
|
||||
$items = array(
|
||||
'publication' => array(
|
||||
'name' => t('Publication'),
|
||||
'base' => 'node_content',
|
||||
'description' => '',
|
||||
'has_title' => '1',
|
||||
'title_label' => t('Titre'),
|
||||
'help' => '',
|
||||
),
|
||||
);
|
||||
drupal_alter('node_info', $items);
|
||||
return $items;
|
||||
}
|
Reference in New Issue
Block a user