36 lines
713 B
PHP
36 lines
713 B
PHP
<?php
|
|
/**
|
|
* @file
|
|
* showroom.features.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_ctools_plugin_api().
|
|
*/
|
|
function showroom_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 showroom_node_info() {
|
|
$items = array(
|
|
'showroom' => array(
|
|
'name' => t('Showroom'),
|
|
'base' => 'node_content',
|
|
'description' => '',
|
|
'has_title' => '1',
|
|
'title_label' => t('Nom'),
|
|
'help' => '',
|
|
),
|
|
);
|
|
drupal_alter('node_info', $items);
|
|
return $items;
|
|
}
|