materio-base-legacy/materio_subscriptions/materio_subscriptions.features.inc
bachy 4caa0c442b first import
Signed-off-by: bachy <git@g-u-i.net>
2013-01-30 18:30:33 +01:00

33 lines
816 B
PHP

<?php
/**
* @file
* materio_subscriptions.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function materio_subscriptions_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_uc_product_default_classes().
*/
function materio_subscriptions_uc_product_default_classes() {
$items = array(
'product' => array(
'name' => t('Product'),
'base' => 'uc_product',
'description' => t('Use <em>products</em> to represent items for sale on the website, including all the unique information that can be attributed to a specific model number.'),
'has_title' => '1',
'title_label' => t('Nom'),
'help' => '',
),
);
return $items;
}