You are here

private function LingotekApi::watchdog_format_object in Lingotek Translation 7.2

Formats a complex object for presentation in a watchdog message.

2 calls to LingotekApi::watchdog_format_object()
LingotekApi::createCommunity in lib/Drupal/lingotek/LingotekApi.php
Calls a Lingotek API to provision a new Community (account). Modified version of the request() method.
LingotekApi::request in lib/Drupal/lingotek/LingotekApi.php
Calls a Lingotek API method.

File

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

Class

LingotekApi
@file Defines Drupal\lingotek\LingotekApi

Code

private function watchdog_format_object($object) {
  return '<pre>' . htmlspecialchars(var_export($object, TRUE)) . '</pre>';
}