3 final class HeraldWebhookEditor
4 extends PhabricatorApplicationTransactionEditor
{
6 public function getEditorApplicationClass() {
7 return 'PhabricatorHeraldApplication';
10 public function getEditorObjectsDescription() {
11 return pht('Webhooks');
14 public function getCreateObjectTitle($author, $object) {
15 return pht('%s created this webhook.', $author);
18 public function getCreateObjectTitleForFeed($author, $object) {
19 return pht('%s created %s.', $author, $object);
22 public function getTransactionTypes() {
23 $types = parent
::getTransactionTypes();
25 $types[] = PhabricatorTransactions
::TYPE_VIEW_POLICY
;
26 $types[] = PhabricatorTransactions
::TYPE_EDIT_POLICY
;