@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 31 lines 746 B view raw
1<?php 2 3final class HeraldWebhookEditor 4 extends PhabricatorApplicationTransactionEditor { 5 6 public function getEditorApplicationClass() { 7 return PhabricatorHeraldApplication::class; 8 } 9 10 public function getEditorObjectsDescription() { 11 return pht('Webhooks'); 12 } 13 14 public function getCreateObjectTitle($author, $object) { 15 return pht('%s created this webhook.', $author); 16 } 17 18 public function getCreateObjectTitleForFeed($author, $object) { 19 return pht('%s created %s.', $author, $object); 20 } 21 22 public function getTransactionTypes() { 23 $types = parent::getTransactionTypes(); 24 25 $types[] = PhabricatorTransactions::TYPE_VIEW_POLICY; 26 $types[] = PhabricatorTransactions::TYPE_EDIT_POLICY; 27 28 return $types; 29 } 30 31}