You are here

public function MandrillTestAPI::getTags in Mandrill 8

Gets a list of tags.

Return value

array

Overrides MandrillAPI::getTags

File

src/MandrillTestAPI.php, line 88

Class

MandrillTestAPI
Overrides functions in the Mandrill API service for testing.

Namespace

Drupal\mandrill

Code

public function getTags() {
  $tags = $this
    ->getTagsTestData();
  foreach ($tags as $tag) {
    unset($tag['reputation']);
    unset($tag['unique_opens']);
    unset($tag['unique_clicks']);
  }
  return $tags;
}