You are here

commons_documents.features.inc in Drupal Commons 7.3

File

modules/commons/commons_documents/commons_documents.features.inc
View source
<?php

/**
 * @file
 * commons_documents.features.inc
 */

/**
 * Implements hook_ctools_plugin_api().
 */
function commons_documents_ctools_plugin_api($module = NULL, $api = NULL) {
  if ($module == "strongarm" && $api == "strongarm") {
    return array(
      "version" => "1",
    );
  }
}

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

/**
 * Implements hook_node_info().
 */
function commons_documents_node_info() {
  $items = array(
    'document' => array(
      'name' => t('Document'),
      'base' => 'node_content',
      'description' => t('Upload and display files or attachments to share with others.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );
  return $items;
}