Page MenuHomec4science

DiffusionPreCommitContentPusherHeraldField.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 09:04

DiffusionPreCommitContentPusherHeraldField.php

<?php
final class DiffusionPreCommitContentPusherHeraldField
extends DiffusionPreCommitContentHeraldField {
const FIELDCONST = 'diffusion.pre.content.pusher';
public function getHeraldFieldName() {
return pht('Pusher');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->getHookEngine()->getViewer()->getPHID();
}
protected function getHeraldFieldStandardType() {
return HeraldField::STANDARD_PHID;
}
protected function getDatasource() {
return new PhabricatorPeopleDatasource();
}
}

Event Timeline