Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91437104
DiffusionPreCommitContentMessageHeraldField.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, Nov 11, 02:48
Size
454 B
Mime Type
text/x-php
Expires
Wed, Nov 13, 02:48 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22263079
Attached To
rPH Phabricator
DiffusionPreCommitContentMessageHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentMessageHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.commit.message'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Commit message'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getCommitRef
()->
getMessage
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT
;
}
}
Event Timeline
Log In to Comment