Page MenuHomec4science

DifferentialDiffAuthorHeraldField.php
No OneTemporary

File Metadata

Created
Fri, Nov 1, 17:35

DifferentialDiffAuthorHeraldField.php

<?php
final class DifferentialDiffAuthorHeraldField
extends DifferentialDiffHeraldField {
const FIELDCONST = 'differential.diff.author';
public function getHeraldFieldName() {
return pht('Author');
}
public function getHeraldFieldValue($object) {
return $object->getAuthorPHID();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID;
}
protected function getDatasource() {
return new PhabricatorPeopleDatasource();
}
}

Event Timeline