3 final class DiffusionCommitRevisionHeraldField
4 extends DiffusionCommitHeraldField
{
6 const FIELDCONST
= 'diffusion.commit.revision';
8 public function getHeraldFieldName() {
9 return pht('Differential revision');
12 public function getFieldGroupKey() {
13 return HeraldRelatedFieldGroup
::FIELDGROUPKEY
;
16 public function getHeraldFieldValue($object) {
17 $revision = $this->getAdapter()->loadDifferentialRevision();
23 return $revision->getPHID();
26 protected function getHeraldFieldStandardType() {
27 return self
::STANDARD_PHID_BOOL
;