Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81144409
DiffusionPreCommitContentPusherProjectsHeraldField.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, Sep 4, 10:16
Size
610 B
Mime Type
text/x-php
Expires
Fri, Sep 6, 10:16 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
20522892
Attached To
rPH Phabricator
DiffusionPreCommitContentPusherProjectsHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentPusherProjectsHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.content.pusher.projects'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Pusher projects'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()
->
getHookEngine
()
->
loadViewerProjectPHIDsForHerald
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_PHID_LIST
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorProjectDatasource
();
}
}
Event Timeline
Log In to Comment