function field_test_entity_edit

Menu callback: displays the 'Edit exiisting test_entity' form.

1 string reference to 'field_test_entity_edit'
field_test_menu in drupal/core/modules/field/tests/modules/field_test/field_test.module
Implements hook_menu().

File

drupal/core/modules/field/tests/modules/field_test/field_test.entity.inc, line 185
Defines an entity type.

Code

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