@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 33 lines 839 B view raw
1<?php 2 3final class HarbormasterBuildPlanEditor 4 extends PhabricatorApplicationTransactionEditor { 5 6 public function getEditorApplicationClass() { 7 return PhabricatorHarbormasterApplication::class; 8 } 9 10 public function getEditorObjectsDescription() { 11 return pht('Harbormaster Build Plans'); 12 } 13 14 public function getCreateObjectTitle($author, $object) { 15 return pht('%s created this build plan.', $author); 16 } 17 18 public function getCreateObjectTitleForFeed($author, $object) { 19 return pht('%s created %s.', $author, $object); 20 } 21 22 protected function supportsSearch() { 23 return true; 24 } 25 26 public function getTransactionTypes() { 27 $types = parent::getTransactionTypes(); 28 $types[] = PhabricatorTransactions::TYPE_VIEW_POLICY; 29 $types[] = PhabricatorTransactions::TYPE_EDIT_POLICY; 30 return $types; 31 } 32 33}