diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-16 03:47:14 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-16 03:47:14 +0000 |
commit | 1c7bca0b6f824dc99101802286a348dcfc71cd01 (patch) | |
tree | 04b48059bb095b0a25d9b9924e8176faedfbb9db /modules/simpletest | |
parent | 92f5a844b25e7855691a9338f9466e8f5c9a07af (diff) | |
download | brdo-1c7bca0b6f824dc99101802286a348dcfc71cd01.tar.gz brdo-1c7bca0b6f824dc99101802286a348dcfc71cd01.tar.bz2 |
#605442 by catch: Add a generic hook_entity_load().
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/tests/field_test.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/field_test.module b/modules/simpletest/tests/field_test.module index 8bb504389..86a2751ea 100644 --- a/modules/simpletest/tests/field_test.module +++ b/modules/simpletest/tests/field_test.module @@ -38,7 +38,7 @@ function field_test_menu() { 'type' => MENU_NORMAL_ITEM, ); } - $items['test-entity/%field_test_entity/edit'] = array( + $items['test-entity/%field_test_entity_test/edit'] = array( 'title' => 'Edit test entity', 'page callback' => 'field_test_entity_edit', 'page arguments' => array(1), @@ -193,7 +193,7 @@ function field_test_create_stub_entity($id = 1, $vid = 1, $bundle = FIELD_TEST_B return $entity; } -function field_test_entity_load($ftid, $ftvid = NULL) { +function field_test_entity_test_load($ftid, $ftvid = NULL) { // Load basic strucure. $query = db_select('test_entity', 'fte', array()) ->fields('fte') |