Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / herald / DiffusionPreCommitRefNameHeraldField.php
blobc21a73adb7191fc9c7b6b95f34c41c0c9e923d91
1 <?php
3 final class DiffusionPreCommitRefNameHeraldField
4 extends DiffusionPreCommitRefHeraldField {
6 const FIELDCONST = 'diffusion.pre.ref.name';
8 public function getHeraldFieldName() {
9 return pht('Ref name');
12 public function getHeraldFieldValue($object) {
13 return $object->getRefName();
16 protected function getHeraldFieldStandardType() {
17 return HeraldField::STANDARD_TEXT;