materio-base-legacy/materio_subscriptions/materio_subscriptions.features.inc
2013-12-09 17:22:25 +01:00

39 lines
950 B
PHP
Executable File

<?php
/**
* @file
* materio_subscriptions.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function materio_subscriptions_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_views_api().
*/
function materio_subscriptions_views_api($module = NULL, $api = NULL) {
return array("api" => "3.0");
}
/**
* 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('Name'),
'help' => '',
),
);
return $items;
}