Page MenuHomestyx hydra

DiffusionCommitRepositoryProjectsHeraldField.php
No OneTemporary

DiffusionCommitRepositoryProjectsHeraldField.php

<?php
final class DiffusionCommitRepositoryProjectsHeraldField
extends DiffusionCommitHeraldField {
const FIELDCONST = 'diffusion.commit.repository.projects';
public function getHeraldFieldName() {
return pht('Repository projects');
}
public function getHeraldFieldValue($object) {
return PhabricatorEdgeQuery::loadDestinationPHIDs(
$object->getRepository()->getPHID(),
PhabricatorProjectObjectHasProjectEdgeType::EDGECONST);
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID_LIST;
}
protected function getDatasource() {
return new PhabricatorProjectDatasource();
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Dec 1, 6:29 PM (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
430950
Default Alt Text
DiffusionCommitRepositoryProjectsHeraldField.php (652 B)

Event Timeline