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'; } }