コード例 #1
0
ファイル: MandrillConfig.php プロジェクト: df-arif/df-core
 /**
  * @param array $schema
  */
 protected static function prepareConfigSchemaField(array &$schema)
 {
     parent::prepareConfigSchemaField($schema);
     switch ($schema['name']) {
         case 'key':
             $schema['label'] = 'API Key';
             $schema['description'] = 'A Mandrill service API Key.';
             break;
     }
 }
コード例 #2
0
ファイル: MailGunConfig.php プロジェクト: df-arif/df-core
 /**
  * @param array $schema
  */
 protected static function prepareConfigSchemaField(array &$schema)
 {
     parent::prepareConfigSchemaField($schema);
     switch ($schema['name']) {
         case 'domain':
             $schema['label'] = 'Mailgun Domain';
             $schema['description'] = 'Your Mailgun domain name.';
             break;
         case 'key':
             $schema['label'] = 'API Key';
             $schema['description'] = 'Mailgun service API Key.';
             break;
     }
 }