function buddylist_activity_info in Activity 5
Activity definition file
This defines what hooks activity module should use
File
- includes/
buddylist.inc, line 7
Code
function buddylist_activity_info() {
return array(
'name' => 'buddylist',
'module' => 'buddylist',
'ops' => array(
'add',
'remove',
),
'types' => array(),
'tokens' => array(
'user' => 'user who added a buddy',
'user-link' => 'link to the user\'s profile',
'buddy' => 'user who was added',
'buddy-link' => 'link to the buddy\'s profile',
),
);
}