Page MenuHomestyx hydra

DiffusionPreCommitRefPusherProjectsHeraldField.php
No OneTemporary

DiffusionPreCommitRefPusherProjectsHeraldField.php

<?php
final class DiffusionPreCommitRefPusherProjectsHeraldField
extends DiffusionPreCommitRefHeraldField {
const FIELDCONST = 'diffusion.pre.ref.pusher.projects';
public function getHeraldFieldName() {
return pht('Pusher projects');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()
->getHookEngine()
->loadViewerProjectPHIDsForHerald();
}
protected function getHeraldFieldStandardType() {
return HeraldField::STANDARD_PHID_LIST;
}
protected function getDatasource() {
return new PhabricatorProjectDatasource();
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 30, 7:32 PM (1 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
429653
Default Alt Text
DiffusionPreCommitRefPusherProjectsHeraldField.php (598 B)

Event Timeline