Page MenuHomec4science

DiffusionPreCommitContentAuthorHeraldField.php
No OneTemporary

File Metadata

Created
Tue, Oct 8, 10:18

DiffusionPreCommitContentAuthorHeraldField.php

<?php
final class DiffusionPreCommitContentAuthorHeraldField
extends DiffusionPreCommitContentHeraldField {
const FIELDCONST = 'diffusion.pre.commit.author';
public function getHeraldFieldName() {
return pht('Author');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->getAuthorPHID();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID_NULLABLE;
}
protected function getDatasource() {
return new PhabricatorPeopleDatasource();
}
}

Event Timeline