@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 42 lines 889 B view raw
1<?php 2 3final class PhabricatorColumnsEditField 4 extends PhabricatorPHIDListEditField { 5 6 private $columnMap; 7 8 public function setColumnMap(array $column_map) { 9 $this->columnMap = $column_map; 10 return $this; 11 } 12 13 public function getColumnMap() { 14 return $this->columnMap; 15 } 16 17 protected function newControl() { 18 $control = new AphrontFormHandlesControl(); 19 $control->setIsInvisible(true); 20 21 return $control; 22 } 23 24 protected function newHTTPParameterType() { 25 return new AphrontPHIDListHTTPParameterType(); 26 } 27 28 protected function newConduitParameterType() { 29 return new ConduitColumnsParameterType(); 30 } 31 32 protected function newCommentAction() { 33 $column_map = $this->getColumnMap(); 34 if (!$column_map) { 35 return null; 36 } 37 38 return id(new PhabricatorEditEngineColumnsCommentAction()) 39 ->setColumnMap($this->getColumnMap()); 40 } 41 42}