@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 24 lines 515 B view raw
1<?php 2 3final class PhabricatorDatasourceEditField 4 extends PhabricatorTokenizerEditField { 5 6 private $datasource; 7 8 public function setDatasource(PhabricatorTypeaheadDatasource $datasource) { 9 $this->datasource = $datasource; 10 return $this; 11 } 12 13 public function getDatasource() { 14 if (!$this->datasource) { 15 throw new PhutilInvalidStateException('setDatasource'); 16 } 17 return $this->datasource; 18 } 19 20 protected function newDatasource() { 21 return id(clone $this->getDatasource()); 22 } 23 24}