Differential D13612 Diff 32970 src/applications/differential/herald/DifferentialRevisionContentHeraldField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/herald/DifferentialRevisionContentHeraldField.php
<?php | <?php | ||||
final class DifferentialRevisionContentHeraldField | final class DifferentialRevisionContentHeraldField | ||||
extends DifferentialRevisionHeraldField { | extends DifferentialRevisionHeraldField { | ||||
const FIELDCONST = 'differential.revision.diff.content'; | const FIELDCONST = 'differential.revision.diff.content'; | ||||
public function getHeraldFieldName() { | public function getHeraldFieldName() { | ||||
return pht('Changed file content'); | return pht('Changed file content'); | ||||
} | } | ||||
public function getHeraldFieldValue($object) { | public function getHeraldFieldValue($object) { | ||||
return $this->getAdapter()->loadContentDictionary(); | return $this->getAdapter()->loadContentDictionary(); | ||||
} | } | ||||
protected function getHeraldFieldStandardConditions() { | protected function getHeraldFieldStandardType() { | ||||
return self::STANDARD_TEXT_MAP; | return self::STANDARD_TEXT_MAP; | ||||
} | } | ||||
public function getHeraldFieldValueType($condition) { | |||||
return HeraldAdapter::VALUE_TEXT; | |||||
} | |||||
} | } |