Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90881907
PhabricatorSendGridConfigOptions.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
Tue, Nov 5, 15:28
Size
733 B
Mime Type
text/x-php
Expires
Thu, Nov 7, 15:28 (2 d)
Engine
blob
Format
Raw Data
Handle
22152031
Attached To
rPH Phabricator
PhabricatorSendGridConfigOptions.php
View Options
<?php
final
class
PhabricatorSendGridConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'Integration with SendGrid'
);
}
public
function
getDescription
()
{
return
pht
(
'Configure SendGrid integration.'
);
}
public
function
getIcon
()
{
return
'fa-send-o'
;
}
public
function
getGroup
()
{
return
'core'
;
}
public
function
getOptions
()
{
return
array
(
$this
->
newOption
(
'sendgrid.api-user'
,
'string'
,
null
)
->
setLocked
(
true
)
->
setDescription
(
pht
(
'SendGrid API username.'
)),
$this
->
newOption
(
'sendgrid.api-key'
,
'string'
,
null
)
->
setHidden
(
true
)
->
setDescription
(
pht
(
'SendGrid API key.'
)),
);
}
}
Event Timeline
Log In to Comment