You are here

function LingotekApi::communityDisabledErrorMessage in Lingotek Translation 7.7

1 call to LingotekApi::communityDisabledErrorMessage()
LingotekApi::handleCommunityError in lib/Drupal/lingotek/LingotekApi.php

File

lib/Drupal/lingotek/LingotekApi.php, line 288
Defines Drupal\lingotek\LingotekApi

Class

LingotekApi
@file Defines Drupal\lingotek\LingotekApi

Code

function communityDisabledErrorMessage() {
  $community = lingotek_get_community_name() . ' (' . variable_get('lingotek_community_identifier', '') . ')';
  drupal_set_message(t('Community ' . $community . ' has been disabled. Please contact support@lingotek.com to re-enable your community.'), 'error');
}