Generate file attachment transactions for explicit Remarkup attachments on common...
[phabricator.git] / src / applications / diffusion / herald / DiffusionPreCommitContentPusherHeraldField.php
blob50163dd01978d489ccb8fac0b2aeeba5b0d317a4
1 <?php
3 final class DiffusionPreCommitContentPusherHeraldField
4 extends DiffusionPreCommitContentHeraldField {
6 const FIELDCONST = 'diffusion.pre.content.pusher';
8 public function getHeraldFieldName() {
9 return pht('Pusher');
12 public function getHeraldFieldValue($object) {
13 return $this->getAdapter()->getHookEngine()->getViewer()->getPHID();
16 protected function getHeraldFieldStandardType() {
17 return HeraldField::STANDARD_PHID;
20 protected function getDatasource() {
21 return new PhabricatorPeopleDatasource();