You are here

public function MandrillAPI::isLibraryInstalled in Mandrill 8

Check if the Mandrill PHP library is available.

Return value

bool TRUE if it is installed, FALSE otherwise.

Overrides MandrillAPIInterface::isLibraryInstalled

1 call to MandrillAPI::isLibraryInstalled()
MandrillAPI::getAPIObject in src/MandrillAPI.php
Return Mandrill API object for communication with the mandrill server.

File

src/MandrillAPI.php, line 44

Class

MandrillAPI
Service class to integrate with Mandrill.

Namespace

Drupal\mandrill

Code

public function isLibraryInstalled() {
  return class_exists('Mandrill');
}