Page MenuHomestyx hydra

DifferentialRevisionSummaryHeraldField.php
No OneTemporary

DifferentialRevisionSummaryHeraldField.php

<?php
final class DifferentialRevisionSummaryHeraldField
extends DifferentialRevisionHeraldField {
const FIELDCONST = 'differential.revision.summary';
public function getHeraldFieldName() {
return pht('Revision summary');
}
public function getHeraldFieldValue($object) {
// NOTE: For historical reasons, this field includes the test plan. We
// could maybe try to fix this some day, but it probably aligns reasonably
// well with user expectation without harming anything.
return $object->getSummary()."\n\n".$object->getTestPlan();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_TEXT;
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Nov 21, 2:31 PM (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
353015
Default Alt Text
DifferentialRevisionSummaryHeraldField.php (663 B)

Event Timeline