Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97961343
DifferentialRevisionSummaryHeraldField.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
Wed, Jan 8, 00:36
Size
663 B
Mime Type
text/x-php
Expires
Fri, Jan 10, 00:36 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23460240
Attached To
rPH Phabricator
DifferentialRevisionSummaryHeraldField.php
View Options
<?php
final
class
DifferentialRevisionSummaryHeraldField
extends
DifferentialRevisionHeraldField
{
const
FIELDCONST
=
'differential.revision.summary'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Revision summary'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
// NOTE: For historical reasons, this field includes the test plan. We
// could maybe try to fix this some day, but it probably aligns reasonably
// well with user expectation without harming anything.
return
$object
->
getSummary
().
"
\n\n
"
.
$object
->
getTestPlan
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT
;
}
}
Event Timeline
Log In to Comment