Page MenuHomePhorge

DifferentialManiphestTasksField.php
No OneTemporary

Size
819 B
Referenced Files
None
Subscribers
None

DifferentialManiphestTasksField.php

<?php
final class DifferentialManiphestTasksField
extends DifferentialCustomField {
public function getFieldKey() {
return 'differential:maniphest-tasks';
}
public function getFieldName() {
return pht('Maniphest Tasks');
}
public function getFieldDescription() {
return pht('Lists associated tasks.');
}
public function shouldAppearInPropertyView() {
return true;
}
public function renderPropertyViewLabel() {
return $this->getFieldName();
}
public function getRequiredHandlePHIDsForPropertyView() {
return PhabricatorEdgeQuery::loadDestinationPHIDs(
$this->getObject()->getPHID(),
PhabricatorEdgeConfig::TYPE_DREV_HAS_RELATED_TASK);
}
public function renderPropertyViewValue(array $handles) {
return $this->renderHandleList($handles);
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Jun 29, 3:53 PM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
262608
Default Alt Text
DifferentialManiphestTasksField.php (819 B)

Event Timeline