Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / herald / DiffusionCommitDiffContentHeraldField.php
blobed67d340cedccb695eb4054cb20676ea487186f7
1 <?php
3 final class DiffusionCommitDiffContentHeraldField
4 extends DiffusionCommitHeraldField {
6 const FIELDCONST = 'diffusion.commit.diff';
8 public function getHeraldFieldName() {
9 return pht('Diff content');
12 public function getFieldGroupKey() {
13 return DiffusionChangeHeraldFieldGroup::FIELDGROUPKEY;
16 public function getHeraldFieldValue($object) {
17 return $this->getAdapter()->loadDiffContent('*');
20 protected function getHeraldFieldStandardType() {
21 return self::STANDARD_TEXT_MAP;