1 views_upgrade.test ViewsUpgradeTestCase::debugField($field)

File

core/modules/views/tests/views_upgrade.test, line 29
Definition of ViewsUpgradeTestCase.

Class

ViewsUpgradeTestCase
Try to test the upgrade path of all conversions.

Code

function debugField($field) {
  $keys = array('id', 'table', 'field', 'actual_field', 'original_field', 'real_field');
  $info = array();
  foreach ($keys as $key) {
    $info[$key] = $field->{$key};
  }
  debug($info, NULL, TRUE);
}