Differential D13612 Diff 32970 src/applications/diffusion/herald/DiffusionCommitBranchesHeraldField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/herald/DiffusionCommitBranchesHeraldField.php
Show All 21 Lines | $result = id(new ConduitCall('diffusion.branchquery', $params)) | ||||
->setUser(PhabricatorUser::getOmnipotentUser()) | ->setUser(PhabricatorUser::getOmnipotentUser()) | ||||
->execute(); | ->execute(); | ||||
$refs = DiffusionRepositoryRef::loadAllFromDictionaries($result); | $refs = DiffusionRepositoryRef::loadAllFromDictionaries($result); | ||||
return mpull($refs, 'getShortName'); | return mpull($refs, 'getShortName'); | ||||
} | } | ||||
protected function getHeraldFieldStandardConditions() { | protected function getHeraldFieldStandardType() { | ||||
return self::STANDARD_TEXT_LIST; | return self::STANDARD_TEXT_LIST; | ||||
} | } | ||||
public function getHeraldFieldValueType($condition) { | |||||
return HeraldAdapter::VALUE_TEXT; | |||||
} | |||||
} | } |