Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / people / customfield / PhabricatorUserConfiguredCustomField.php
blob800ea320c336660358b3a31584a3a51ccca2b3dd
1 <?php
3 final class PhabricatorUserConfiguredCustomField
4 extends PhabricatorUserCustomField
5 implements PhabricatorStandardCustomFieldInterface {
7 public function getStandardCustomFieldNamespace() {
8 return 'user';
11 public function createFields($object) {
12 return PhabricatorStandardCustomField::buildStandardFields(
13 $this,
14 PhabricatorEnv::getEnvConfig('user.custom-field-definitions'));
17 public function newStorageObject() {
18 return new PhabricatorUserConfiguredCustomFieldStorage();
21 protected function newStringIndexStorage() {
22 return new PhabricatorUserCustomFieldStringIndex();
25 protected function newNumericIndexStorage() {
26 return new PhabricatorUserCustomFieldNumericIndex();