Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123558854
PhabricatorPasteConfigOptions.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
Mon, Jul 28, 07:04
Size
1 KB
Mime Type
text/x-php
Expires
Wed, Jul 30, 07:04 (2 d)
Engine
blob
Format
Raw Data
Handle
27715434
Attached To
rPH Phabricator
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
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.'
)),
);
}
}
Event Timeline
Log In to Comment