Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3295546
PhabricatorProjectRemoveHeraldAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
679 B
Referenced Files
None
Subscribers
None
PhabricatorProjectRemoveHeraldAction.php
View Options
<?php
final
class
PhabricatorProjectRemoveHeraldAction
extends
PhabricatorProjectHeraldAction
{
const
ACTIONCONST
=
'projects.remove'
;
public
function
getHeraldActionName
(
)
{
return
pht
(
'Remove projects'
)
;
}
public
function
applyEffect
(
$object
,
HeraldEffect
$effect
)
{
return
$this
->
applyProjects
(
$effect
->
getTarget
(
)
,
$is_add
=
false
)
;
}
public
function
getHeraldActionStandardType
(
)
{
return
self
::
STANDARD_PHID_LIST
;
}
protected
function
getDatasource
(
)
{
return
new
PhabricatorProjectDatasource
(
)
;
}
public
function
renderActionDescription
(
$value
)
{
return
pht
(
'Remove projects: %s.'
,
$this
->
renderHandleList
(
$value
)
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Mar 27, 02:25 (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1234456
Default Alt Text
PhabricatorProjectRemoveHeraldAction.php (679 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment