1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 09:22:40 +01:00
phorge-phorge/src/applications/config/option/PhabricatorSendGridConfigOptions.php
epriestley 950076ec95 Bring SendGrid configuration into PHP
Summary: Port more settings.

Test Plan: Looked at, edited settings.

Reviewers: codeblock, btrahan

Reviewed By: codeblock

CC: aran

Maniphest Tasks: T2255

Differential Revision: https://secure.phabricator.com/D4442
2013-01-15 12:04:05 -08:00

24 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.')),
);
}
}