Page MenuHomec4science

DifferentialRevisionContentAddedHeraldField.php
No OneTemporary

File Metadata

Created
Sat, Jan 4, 19:48

DifferentialRevisionContentAddedHeraldField.php

<?php
final class DifferentialRevisionContentAddedHeraldField
extends DifferentialRevisionHeraldField {
const FIELDCONST = 'differential.revision.diff.new';
public function getHeraldFieldName() {
return pht('Added file content');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->loadAddedContentDictionary();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_TEXT_MAP;
}
}

Event Timeline