| 1 |
<?php |
<?php |
| 2 |
// $Id: field.test,v 1.1 2009/11/20 23:29:28 webchick Exp $ |
// $Id: field.test,v 1.2 2009/11/21 00:43:42 webchick Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 2495 |
$this->assertTrue(count($obj_info['translation']), t('Nodes are translatable.')); |
$this->assertTrue(count($obj_info['translation']), t('Nodes are translatable.')); |
| 2496 |
|
|
| 2497 |
// Prepare the field translations. |
// Prepare the field translations. |
| 2498 |
|
field_test_entity_info_translatable('test_entity', TRUE); |
| 2499 |
$eid = $evid = 1; |
$eid = $evid = 1; |
| 2500 |
$obj_type = 'test_entity'; |
$obj_type = 'test_entity'; |
| 2501 |
$object = field_test_create_stub_entity($eid, $evid, $this->instance['bundle']); |
$object = field_test_create_stub_entity($eid, $evid, $this->instance['bundle']); |