Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F117735094
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
Sun, Jun 15, 14:47
Size
737 B
Mime Type
text/x-php
Expires
Tue, Jun 17, 14:47 (2 d)
Engine
blob
Format
Raw Data
Handle
26791907
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
getFontIcon
()
{
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