Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97513455
DiffusionPreCommitContentMergeHeraldField.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
Sat, Jan 4, 19:27
Size
449 B
Mime Type
text/x-php
Expires
Mon, Jan 6, 19:27 (2 d)
Engine
blob
Format
Raw Data
Handle
23419723
Attached To
rPH Phabricator
DiffusionPreCommitContentMergeHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentMergeHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.content.merge'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Is merge commit'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getIsMergeCommit
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_BOOL
;
}
}
Event Timeline
Log In to Comment