Page MenuHomec4science

DiffusionPreCommitContentRepositoryHeraldField.php
No OneTemporary

File Metadata

Created
Fri, Nov 29, 23:45

DiffusionPreCommitContentRepositoryHeraldField.php

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

Event Timeline