You are here

public function SendinblueApiV3::getTemplate in SendinBlue 7.2

Get template by id.

Parameters

string $id: A template identification.

Return value

GetSmtpTemplateOverview A template.

Overrides SendInBlueApiInterface::getTemplate

File

includes/Api/SendinblueApiV3.php, line 157

Class

SendinblueApiV3
Sendinblue REST client.

Code

public function getTemplate($id) {
  return new GetSmtpTemplateOverview(drupal_json_decode($this->sibTransactionalEmailsApi
    ->getSmtpTemplate($id)));
}