Differential D17465 Diff 42003 src/applications/maniphest/edge/ManiphestTaskDependedOnByTaskEdgeType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/edge/ManiphestTaskDependedOnByTaskEdgeType.php
<?php | <?php | ||||
final class ManiphestTaskDependedOnByTaskEdgeType extends PhabricatorEdgeType { | final class ManiphestTaskDependedOnByTaskEdgeType extends PhabricatorEdgeType { | ||||
const EDGECONST = 4; | const EDGECONST = 4; | ||||
public function getInverseEdgeConstant() { | public function getInverseEdgeConstant() { | ||||
return ManiphestTaskDependsOnTaskEdgeType::EDGECONST; | return ManiphestTaskDependsOnTaskEdgeType::EDGECONST; | ||||
} | } | ||||
public function shouldWriteInverseTransactions() { | public function shouldWriteInverseTransactions() { | ||||
return true; | return true; | ||||
} | } | ||||
public function getConduitKey() { | |||||
return 'task.parent'; | |||||
} | |||||
public function getConduitName() { | |||||
return pht('Parent Task'); | |||||
} | |||||
public function getConduitDescription() { | |||||
return pht('The source object has the destination object as a parent.'); | |||||
} | |||||
public function getTransactionAddString( | public function getTransactionAddString( | ||||
$actor, | $actor, | ||||
$add_count, | $add_count, | ||||
$add_edges) { | $add_edges) { | ||||
return pht( | return pht( | ||||
'%s added %s parent task(s): %s.', | '%s added %s parent task(s): %s.', | ||||
$actor, | $actor, | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |