Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/differential/herald/DifferentialDiffAffectedFilesHeraldField.php
12256 views
1
<?php
2
3
final class DifferentialDiffAffectedFilesHeraldField
4
extends DifferentialDiffHeraldField {
5
6
const FIELDCONST = 'differential.diff.affected';
7
8
public function getHeraldFieldName() {
9
return pht('Affected files');
10
}
11
12
public function getFieldGroupKey() {
13
return DifferentialChangeHeraldFieldGroup::FIELDGROUPKEY;
14
}
15
16
public function getHeraldFieldValue($object) {
17
return $this->getAdapter()->loadAffectedPaths();
18
}
19
20
protected function getHeraldFieldStandardType() {
21
return self::STANDARD_TEXT_LIST;
22
}
23
24
}
25
26