@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 20 lines 442 B view raw
1<?php 2 3final class DifferentialRevisionRelationshipSource 4 extends PhabricatorObjectRelationshipSource { 5 6 public function isEnabledForObject($object) { 7 $viewer = $this->getViewer(); 8 9 return PhabricatorApplication::isClassInstalledForViewer( 10 PhabricatorDifferentialApplication::class, 11 $viewer); 12 } 13 14 public function getResultPHIDTypes() { 15 return array( 16 DifferentialRevisionPHIDType::TYPECONST, 17 ); 18 } 19 20}