You are here

cms_portfolio.features.inc in Glazed CMS Portfolio 7

File

cms_portfolio.features.inc
View source
<?php

/**
 * @file
 * cms_portfolio.features.inc
 */

/**
 * Implements hook_ctools_plugin_api().
 */
function cms_portfolio_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_views_api().
 */
function cms_portfolio_views_api($module = NULL, $api = NULL) {
  return array(
    "api" => "3.0",
  );
}

/**
 * Implements hook_node_info().
 */
function cms_portfolio_node_info() {
  $items = array(
    'portfolio' => array(
      'name' => t('Portfolio Project'),
      'base' => 'node_content',
      'description' => t('Page with one or more images. Each image has it\'s own text area. '),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );
  drupal_alter('node_info', $items);
  return $items;
}