Fetching contributors…
Cannot retrieve contributors at this time
44 lines (40 sloc) 950 Bytes
<?php
/**
* Implementation of hook_ctools_plugin_api().
*/
function atrium_profile_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);
}
}
/**
* Implementation of hook_node_info().
*/
function atrium_profile_node_info() {
$items = array(
'profile' => array(
'name' => t('Profile'),
'module' => 'features',
'description' => t('A basic profile that members can use to share information about themselves.'),
'has_title' => '1',
'title_label' => t('Name'),
'has_body' => '0',
'body_label' => '',
'min_word_count' => '0',
'help' => '',
),
);
return $items;
}
/**
* Implementation of hook_views_api().
*/
function atrium_profile_views_api() {
return array(
'api' => '2',
);
}