Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80686644
DifferentialApplyPatchField.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
Mon, Sep 2, 02:24
Size
679 B
Mime Type
text/x-php
Expires
Wed, Sep 4, 02:24 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20423394
Attached To
rPH Phabricator
DifferentialApplyPatchField.php
View Options
<?php
final
class
DifferentialApplyPatchField
extends
DifferentialCustomField
{
public
function
getFieldKey
()
{
return
'differential:apply-patch'
;
}
public
function
getFieldName
()
{
return
pht
(
'Apply Patch'
);
}
public
function
getFieldDescription
()
{
return
pht
(
'Provides instructions for applying a local patch.'
);
}
public
function
shouldAppearInPropertyView
()
{
return
true
;
}
public
function
renderPropertyViewLabel
()
{
return
$this
->
getFieldName
();
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
$mono
=
$this
->
getObject
()->
getMonogram
();
return
phutil_tag
(
'tt'
,
array
(),
"arc patch {$mono}"
);
}
}
Event Timeline
Log In to Comment