Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2354585
PhabricatorPasteConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorPasteConfigOptions.php
View Options
<?php
final
class
PhabricatorPasteConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'Paste'
);
}
public
function
getDescription
()
{
return
pht
(
'Configure Paste.'
);
}
public
function
getFontIcon
()
{
return
'fa-paste'
;
}
public
function
getOptions
()
{
return
array
(
$this
->
newOption
(
'metamta.paste.public-create-email'
,
'string'
,
null
)
->
setLocked
(
true
)
->
setLockedMessage
(
pht
(
'This configuration is deprecated. See description for details.'
))
->
setSummary
(
pht
(
'DEPRECATED - Allow creating pastes via email.'
))
->
setDescription
(
pht
(
'This config has been deprecated in favor of [[ '
.
'/applications/view/PhabricatorPasteApplication/ | '
.
'application settings ]], which allow for multiple email '
.
'addresses and other functionality.'
)),
$this
->
newOption
(
'metamta.paste.subject-prefix'
,
'string'
,
'[Paste]'
)
->
setDescription
(
pht
(
'Subject prefix for Paste email.'
)),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Sep 16, 1:26 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
446396
Default Alt Text
PhabricatorPasteConfigOptions.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment