3 final class DiffusionPreCommitContentPusherProjectsHeraldField
4 extends DiffusionPreCommitContentHeraldField
{
6 const FIELDCONST
= 'diffusion.pre.content.pusher.projects';
8 public function getHeraldFieldName() {
9 return pht("Pusher's projects");
12 public function getHeraldFieldValue($object) {
13 return $this->getAdapter()
15 ->loadViewerProjectPHIDsForHerald();
18 protected function getHeraldFieldStandardType() {
19 return HeraldField
::STANDARD_PHID_LIST
;
22 protected function getDatasource() {
23 return new PhabricatorProjectDatasource();