Skip to content
Snippets Groups Projects
Commit 8d8ab9a2 authored by Monish Deb's avatar Monish Deb
Browse files

CRM-20332: modify summaryAction hook to allow user-defined action in third column of action list

parent a2c03b9d
No related branches found
No related tags found
1 merge request!124CRM-20332: modify summaryAction hook to allow user-defined action in third column of action list
......@@ -51,4 +51,17 @@ Summary Page.
'key' => 'casework',
'href' => '/casework/recording_form
);
}
\ No newline at end of file
}
**Add an item to the third column of action list**
function mymodulename_civicrm_summaryActions(&$actions, $contactID)
{
$actions['otherActions']['casework'] = array(
'title' => 'Record casework',
'weight' => 999,
'ref' => 'record-casework',
'key' => 'casework',
'href' => '/casework/recording_form
);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment