Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99349805
ManiphestTaskHasCommitRelationship.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jan 23, 17:58
Size
623 B
Mime Type
text/x-php
Expires
Sat, Jan 25, 17:58 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
23778998
Attached To
rPH Phabricator
ManiphestTaskHasCommitRelationship.php
View Options
<?php
final
class
ManiphestTaskHasCommitRelationship
extends
ManiphestTaskRelationship
{
const
RELATIONSHIPKEY
=
'task.has-commit'
;
public
function
getEdgeConstant
()
{
return
ManiphestTaskHasCommitEdgeType
::
EDGECONST
;
}
protected
function
getActionName
()
{
return
pht
(
'Edit Commits'
);
}
protected
function
getActionIcon
()
{
return
'fa-code'
;
}
public
function
shouldAppearInActionMenu
()
{
// TODO: For now, the default search for commits is not very good, so
// it is hard to find objects to link to. Until that works better, just
// hide this item.
return
false
;
}
}
Event Timeline
Log In to Comment