commons_event.features.inc in Drupal Commons 6.2
File
modules/features/commons_event/commons_event.features.inc
View source
<?php
function commons_event_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "context" && $api == "context") {
return array(
"version" => 3,
);
}
elseif ($module == "strongarm" && $api == "strongarm") {
return array(
"version" => 1,
);
}
}
function commons_event_node_info() {
$items = array(
'event' => array(
'name' => t('Event'),
'module' => 'features',
'description' => t('An item that is used to provide details about an event. Events can be connected to multiple groups.'),
'has_title' => '1',
'title_label' => t('Title'),
'has_body' => '1',
'body_label' => t('Description'),
'min_word_count' => '0',
'help' => '',
),
);
return $items;
}
function commons_event_views_api() {
return array(
'api' => '2',
);
}