mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-13 10:22:42 +01:00
25 lines
593 B
PHP
25 lines
593 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorSendGridConfigOptions
|
||
|
extends PhabricatorApplicationConfigOptions {
|
||
|
|
||
|
public function getName() {
|
||
|
return pht("Integration with SendGrid");
|
||
|
}
|
||
|
|
||
|
public function getDescription() {
|
||
|
return pht("Configure SendGrid integration.");
|
||
|
}
|
||
|
|
||
|
public function getOptions() {
|
||
|
return array(
|
||
|
$this->newOption('sendgrid.api-user', 'string', null)
|
||
|
->setDescription(pht('SendGrid API username.')),
|
||
|
$this->newOption('sendgrid.api-key', 'string', null)
|
||
|
->setMasked(true)
|
||
|
->setDescription(pht('SendGrid API key.')),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|