@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 upstream/main 24 lines 505 B view raw
1<?php 2 3final class PhrictionDocumentAuthorHeraldField 4 extends PhrictionDocumentHeraldField { 5 6 const FIELDCONST = 'phriction.document.author'; 7 8 public function getHeraldFieldName() { 9 return pht('Author'); 10 } 11 12 public function getHeraldFieldValue($object) { 13 return $object->getContent()->getAuthorPHID(); 14 } 15 16 protected function getHeraldFieldStandardType() { 17 return self::STANDARD_PHID; 18 } 19 20 protected function getDatasource() { 21 return new PhabricatorPeopleDatasource(); 22 } 23 24}