materio_subscriptions.features.inc 816 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * @file
  4. * materio_subscriptions.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function materio_subscriptions_ctools_plugin_api() {
  10. list($module, $api) = func_get_args();
  11. if ($module == "strongarm" && $api == "strongarm") {
  12. return array("version" => "1");
  13. }
  14. }
  15. /**
  16. * Implements hook_uc_product_default_classes().
  17. */
  18. function materio_subscriptions_uc_product_default_classes() {
  19. $items = array(
  20. 'product' => array(
  21. 'name' => t('Product'),
  22. 'base' => 'uc_product',
  23. '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.'),
  24. 'has_title' => '1',
  25. 'title_label' => t('Nom'),
  26. 'help' => '',
  27. ),
  28. );
  29. return $items;
  30. }