Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F546411
DiffusionPreCommitRefPusherProjectsHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
600 B
Referenced Files
None
Subscribers
None
DiffusionPreCommitRefPusherProjectsHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitRefPusherProjectsHeraldField
extends
DiffusionPreCommitRefHeraldField
{
const
FIELDCONST
=
'diffusion.pre.ref.pusher.projects'
;
public
function
getHeraldFieldName
()
{
return
pht
(
"Pusher's projects"
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()
->
getHookEngine
()
->
loadViewerProjectPHIDsForHerald
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_PHID_LIST
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorProjectDatasource
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:14 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121554
Default Alt Text
DiffusionPreCommitRefPusherProjectsHeraldField.php (600 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment