Page MenuHomePhorge

ManiphestTaskEdgeTransaction.php
No OneTemporary

Size
607 B
Referenced Files
None
Subscribers
None

ManiphestTaskEdgeTransaction.php

<?php
final class ManiphestTaskEdgeTransaction
extends ManiphestTaskTransactionType {
const TRANSACTIONTYPE = 'edge';
public function generateOldValue($object) {
return null;
}
public function shouldHide() {
$commit_phid = $this->getMetadataValue('commitPHID');
$edge_type = $this->getMetadataValue('edge:type');
if ($edge_type == ManiphestTaskHasCommitEdgeType::EDGECONST) {
if ($commit_phid) {
return true;
}
}
}
public function getActionName() {
return pht('Attached');
}
public function getIcon() {
return 'fa-thumb-tack';
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, May 13, 3:23 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
108894
Default Alt Text
ManiphestTaskEdgeTransaction.php (607 B)

Event Timeline