Page MenuHomePhorge

DifferentialCommitsField.php
No OneTemporary

DifferentialCommitsField.php

<?php
final class DifferentialCommitsField
extends DifferentialCustomField {
public function getFieldKey() {
return 'differential:commits';
}
public function getFieldName() {
return pht('Commits');
}
public function canDisableField() {
return false;
}
public function getFieldDescription() {
return pht('Shows associated commits.');
}
public function shouldAppearInPropertyView() {
return true;
}
public function renderPropertyViewLabel() {
return $this->getFieldName();
}
public function getRequiredHandlePHIDsForPropertyView() {
return $this->getObject()->getCommitPHIDs();
}
public function renderPropertyViewValue(array $handles) {
return $this->renderHandleList($handles);
}
}

File Metadata

Mime Type
text/x-php
Expires
Jan 19 2025, 23:07 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129700
Default Alt Text
DifferentialCommitsField.php (758 B)

Event Timeline