function commons_shoutbox_og_features_registry in Drupal Commons 6.2
Implementation of hook_og_features_registry()
File
- modules/
features/ commons_shoutbox/ commons_shoutbox.module, line 8
Code
function commons_shoutbox_og_features_registry() {
$registry = array();
// Feature: commons_shoutbox
$feature = new stdClass();
$feature->id = 'commons_shoutbox';
$feature->name = t('Shoutbox');
$feature->description = t('Enable your users to post short messages to each other without creating a complete new page, and see (almost) live updates from other users.');
$feature->components = array(
'path' => array(
'node/%node/shoutbox',
'shoutbox/group/%node',
'shoutbox/group/%node/js/view',
),
'context' => array(
'group-home-shoutbox',
),
'og link' => array(
'shoutbox',
),
);
$registry[$feature->id] = $feature;
return $registry;
}