public static function LingotekLog::warning in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::warning()
- 7.4 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::warning()
- 7.5 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::warning()
- 7.6 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::warning()
10 calls to LingotekLog::warning()
- flag_entity_as_empty in ./
lingotek.util.inc - Checks if document is empty and sets or removes appropriate key in database.
- Lingotek::isSupportedLanguage in lib/
Drupal/ lingotek/ Lingotek.php - Returns whether the given language is supported.
- LingotekApi::addContentDocument in lib/
Drupal/ lingotek/ LingotekApi.php - Add a document to the Lingotek platform.
- LingotekConfigSet::getAllSegments in lib/
Drupal/ lingotek/ LingotekConfigSet.php - Return all segments from the database that belong to a given set ID
- lingotek_add_language_for_beans in ./
lingotek.util.inc - Adds the "language" column to the bean table
File
- lib/
Drupal/ lingotek/ LingotekLog.php, line 48 - LingotekLog
Class
- LingotekLog
- Wrapper logging class for watchdog
Code
public static function warning($msg, $data, $tag = 'warning') {
if (!variable_get('lingotek_warning_log', TRUE)) {
return;
}
self::log($msg, $data, $depth = 1, WATCHDOG_WARNING, $tag);
}