You are here

public function MandrillTestAPI::getTemplates in Mandrill 8

Gets a list of mandrill template objects.

Return value

array An of available templates with complete data or NULL if none available.

Overrides MandrillAPI::getTemplates

1 call to MandrillTestAPI::getTemplates()
MandrillTestAPI::sendTemplate in src/MandrillTestAPI.php
Sends a templated Mandrill message.

File

src/MandrillTestAPI.php, line 33

Class

MandrillTestAPI
Overrides functions in the Mandrill API service for testing.

Namespace

Drupal\mandrill

Code

public function getTemplates() {
  return $this
    ->getTestTemplatesData();
}