1 field_test.entity.inc field_test_entity_edit($entity)

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

File

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

Code

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