Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Commit

Permalink
Add button to contact detail view action menu
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmany committed Nov 22, 2019
1 parent f1b7c9e commit e485bc9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions EventListener/ButtonSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ public function injectViewButtons(CustomButtonEvent $event)
'mautic_contact_index'
);

$event
->addButton(
$button,
ButtonHelper::LOCATION_PAGE_ACTIONS,
['mautic_contact_action', ['objectAction' => 'view']]
);

}

}

0 comments on commit e485bc9

Please sign in to comment.