You are here

public function AdminContentNotificationService::isTokenEnabled in Admin Content Notification 8.3

Check if token module enabled.

Return value

bool Return True if enabled.

1 call to AdminContentNotificationService::isTokenEnabled()
AdminContentNotificationService::sendMail in src/AdminContentNotificationService.php
Send Eamil.

File

src/AdminContentNotificationService.php, line 204

Class

AdminContentNotificationService
AdminContentNotificationService implement helper service class.

Namespace

Drupal\admin_content_notification

Code

public function isTokenEnabled() {
  return $this->moduleHandler
    ->moduleExists('token');
}