Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93121942
DiffusionPreCommitContentPusherHeraldField.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
Tue, Nov 26, 09:04
Size
553 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 09:04 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22579359
Attached To
rPH Phabricator
DiffusionPreCommitContentPusherHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentPusherHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.content.pusher'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Pusher'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getHookEngine
()->
getViewer
()->
getPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorPeopleDatasource
();
}
}
Event Timeline
Log In to Comment