You are here

function Drupali18nTestCase::printObject in Internationalization 7

Same name and namespace in other branches
  1. 6 tests/drupal_i18n_test_case.php \Drupali18nTestCase::printObject()

Debug dump object with some formatting

File

./i18n.test, line 382
Base class for Internationalization tests

Class

Drupali18nTestCase
@file Base class for Internationalization tests

Code

function printObject($object, $title = 'Object') {
  $output = $this
    ->formatTable($object);
  $this
    ->printDebug($output, $title);
}