Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93213861
PhabricatorProjectRemoveHeraldAction.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, Nov 27, 01:57
Size
679 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 01:57 (2 d)
Engine
blob
Format
Raw Data
Handle
22596947
Attached To
rPH Phabricator
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
));
}
}
Event Timeline
Log In to Comment