function ViewsUpgradeTestCase::debugField

File

tests/views_upgrade.test, line 58

Class

ViewsUpgradeTestCase
Try to test the upgrade path of all conversions.

Code

public 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);
}