Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F550627
DiffusionPreCommitContentPusherProjectsHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
612 B
Referenced Files
None
Subscribers
None
DiffusionPreCommitContentPusherProjectsHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentPusherProjectsHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.content.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, 3:05 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121622
Default Alt Text
DiffusionPreCommitContentPusherProjectsHeraldField.php (612 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment