diff --git a/src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php b/src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php index 50ff9ceafa..c4a3c2af87 100644 --- a/src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php +++ b/src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php @@ -12,4 +12,16 @@ final class PhabricatorFileHasObjectEdgeType extends PhabricatorEdgeType { return true; } + public function getConduitKey() { + return 'file.attached-objects'; + } + + public function getConduitName() { + return pht('File Has Object'); + } + + public function getConduitDescription() { + return pht('The source file is attached to the destination object.'); + } + } diff --git a/src/applications/transactions/edges/PhabricatorObjectHasFileEdgeType.php b/src/applications/transactions/edges/PhabricatorObjectHasFileEdgeType.php index 864665e45b..6ed89ff91b 100644 --- a/src/applications/transactions/edges/PhabricatorObjectHasFileEdgeType.php +++ b/src/applications/transactions/edges/PhabricatorObjectHasFileEdgeType.php @@ -12,6 +12,18 @@ final class PhabricatorObjectHasFileEdgeType extends PhabricatorEdgeType { return true; } + public function getConduitKey() { + return 'object.attached-files'; + } + + public function getConduitName() { + return pht('Object Has Files'); + } + + public function getConduitDescription() { + return pht('The source object is associated with the destination file.'); + } + public function getTransactionAddString( $actor, $add_count,