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 modules/field/tests/field_test.module
Implements hook_menu().

File

modules/field/tests/field_test.entity.inc, line 336

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.