groups/modules/commons/commons_documents/commons_documents.features.inc
Marton Kiss 8ac59801be Refactor commons build process
Update commons modules to release 7.12, and move the codebase under
modules/commons instead of constant fetching from remote repository.
The commons.make file removed so it is not required to rebuild
groups distribution.

Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
2014-05-28 15:58:33 +02:00

39 lines
813 B
PHP

<?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;
}