You are here

public function SendinblueApiV3::getTemplates in SendinBlue 7.2

Get templates.

Return value

GetSmtpTemplates An array of campaigns.

Overrides SendInBlueApiInterface::getTemplates

File

includes/Api/SendinblueApiV3.php, line 150

Class

SendinblueApiV3
Sendinblue REST client.

Code

public function getTemplates() {
  return new GetSmtpTemplates(drupal_json_decode($this->sibTransactionalEmailsApi
    ->getSmtpTemplates()));
}