Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101364697
DifferentialChildRevisionsField.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
Sun, Feb 9, 03:22
Size
907 B
Mime Type
text/x-php
Expires
Tue, Feb 11, 03:22 (2 d)
Engine
blob
Format
Raw Data
Handle
24145154
Attached To
rPH Phabricator
DifferentialChildRevisionsField.php
View Options
<?php
final
class
DifferentialChildRevisionsField
extends
DifferentialCustomField
{
public
function
getFieldKey
()
{
return
'differential:dependencies'
;
}
public
function
getFieldName
()
{
return
pht
(
'Child Revisions'
);
}
public
function
canDisableField
()
{
return
false
;
}
public
function
getFieldDescription
()
{
return
pht
(
'Lists revisions this one is depended on by.'
);
}
public
function
shouldAppearInPropertyView
()
{
return
true
;
}
public
function
renderPropertyViewLabel
()
{
return
$this
->
getFieldName
();
}
public
function
getRequiredHandlePHIDsForPropertyView
()
{
return
PhabricatorEdgeQuery
::
loadDestinationPHIDs
(
$this
->
getObject
()->
getPHID
(),
DifferentialRevisionDependedOnByRevisionEdgeType
::
EDGECONST
);
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
return
$this
->
renderHandleList
(
$handles
);
}
}
Event Timeline
Log In to Comment