<?php
/**
 * @file
 * porto_commere.features.inc
 */

/**
 * Implements hook_views_api().
 */
function porto_commere_views_api($module = NULL, $api = NULL) {
  return array("api" => "3.0");
}

/**
 * Implements hook_image_default_styles().
 */
function porto_commere_image_default_styles() {
  $styles = array();

  // Exported image style: thumb_60x60.
  $styles['thumb_60x60'] = array(
    'label' => 'Thumb 60x60',
    'effects' => array(
      11 => array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 60,
          'height' => 60,
        ),
        'weight' => 1,
      ),
    ),
  );

  return $styles;
}

/**
 * Implements hook_node_info().
 */
function porto_commere_node_info() {
  $items = array(
    'product_display' => array(
      'name' => t('Product Display'),
      'base' => 'node_content',
      'description' => '',
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );
  drupal_alter('node_info', $items);
  return $items;
}
