Skip to content

Commit

Permalink
Merge pull request #15074 from sushantpaste/report-hook
Browse files Browse the repository at this point in the history
dev/core#1077 Fixes making report listing actions links hookable
  • Loading branch information
yashodha authored Aug 19, 2019
2 parents 67755a3 + 090e9e0 commit 77db230
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CRM/Report/Page/InstanceList.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ protected function getActionLinks($instanceID, $className) {
'confirm_message' => ts('Are you sure you want delete this report? This action cannot be undone.'),
];
}
CRM_Utils_Hook::links('view.report.links',
$className,
$instanceID,
$actions
);

return $actions;
}
Expand Down

0 comments on commit 77db230

Please sign in to comment.