You are here

function field_test_entity_edit in SimpleTest 7

1 string reference to 'field_test_entity_edit'
field_test_menu in tests/field_test.module
Implement hook_menu().

File

tests/field_test.module, line 264

Code

function field_test_entity_edit($entity) {
  drupal_set_title(t('test_entity @ftid revision @ftvid', array(
    '@ftid' => $entity->ftid,
    '@ftvid' => $entity->ftvid,
  )), PASS_THROUGH);
  return drupal_get_form('field_test_entity_form', $entity);
}