You are here

function pet_has_mimemail in Previewable email templates 8

Same name and namespace in other branches
  1. 8.4 pet.module \pet_has_mimemail()
  2. 7 pet.module \pet_has_mimemail()

Check presence of mimemail.

2 calls to pet_has_mimemail()
PetForm::buildForm in src/Form/PetForm.php
Form constructor.
PetPreviewForm::buildForm in src/Form/PetPreviewForm.php
Form constructor.

File

./pet.module, line 317
Previewable Email Template module.

Code

function pet_has_mimemail() {
  return \Drupal::moduleHandler()
    ->moduleExists('mimemail');
}