@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<?php
2
3final class PhabricatorStandardCustomFieldUsers
4 extends PhabricatorStandardCustomFieldTokenizer {
5
6 public function getFieldType() {
7 return 'users';
8 }
9
10 public function getDatasource() {
11 return new PhabricatorPeopleDatasource();
12 }
13
14 protected function getHTTPParameterType() {
15 return new AphrontUserListHTTPParameterType();
16 }
17
18 protected function newConduitSearchParameterType() {
19 return new ConduitUserListParameterType();
20 }
21
22 protected function newConduitEditParameterType() {
23 return new ConduitUserListParameterType();
24 }
25
26}