Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96331786
HeraldActingUserField.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, Dec 25, 10:27
Size
631 B
Mime Type
text/x-php
Expires
Fri, Dec 27, 10:27 (1 d, 11 h)
Engine
blob
Format
Raw Data
Handle
23150131
Attached To
rPH Phabricator
HeraldActingUserField.php
View Options
<?php
final
class
HeraldActingUserField
extends
HeraldField
{
const
FIELDCONST
=
'herald.acting-user'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Acting user'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getActingAsPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorPeopleDatasource
();
}
public
function
supportsObject
(
$object
)
{
return
true
;
}
public
function
getFieldGroupKey
()
{
return
HeraldEditFieldGroup
::
FIELDGROUPKEY
;
}
}
Event Timeline
Log In to Comment