3 final class DiffusionCommitReviewerHeraldField
4 extends DiffusionCommitHeraldField
{
6 const FIELDCONST
= 'diffusion.commit.reviewer';
8 public function getHeraldFieldName() {
9 return pht('Reviewer (Deprecated)');
12 public function getFieldGroupKey() {
13 return HeraldDeprecatedFieldGroup
::FIELDGROUPKEY
;
16 public function getHeraldFieldValue($object) {
17 return $object->getCommitData()->getCommitDetail('reviewerPHID');
20 protected function getHeraldFieldStandardType() {
21 return self
::STANDARD_PHID_NULLABLE
;
24 protected function getDatasource() {
25 return new PhabricatorPeopleDatasource();