Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15496386
D21480.id51124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D21480.id51124.diff
View Options
diff --git a/src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php b/src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php
--- a/src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php
+++ b/src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php
@@ -12,4 +12,16 @@
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
--- a/src/applications/transactions/edges/PhabricatorObjectHasFileEdgeType.php
+++ b/src/applications/transactions/edges/PhabricatorObjectHasFileEdgeType.php
@@ -12,6 +12,18 @@
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,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 14, 6:38 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706891
Default Alt Text
D21480.id51124.diff (1 KB)
Attached To
Mode
D21480: Expose the "file attached to object" and "object attached to file" edges via "edge.search"
Attached
Detach File
Event Timeline
Log In to Comment