diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-24 17:02:51 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-24 17:02:51 +0000 |
commit | 26b6b596c2ccfe7daf69cf03b6a91d258cc311b7 (patch) | |
tree | 9aec7677ad363933e206b6e01a494942b62a3602 /modules | |
parent | cd8aeb0c0f0d20d64f53e46b57d25185fa16e793 (diff) | |
download | brdo-26b6b596c2ccfe7daf69cf03b6a91d258cc311b7.tar.gz brdo-26b6b596c2ccfe7daf69cf03b6a91d258cc311b7.tar.bz2 |
#613542 by yched: field_test.module cleanup.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/simpletest/tests/field_test.module | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/modules/simpletest/tests/field_test.module b/modules/simpletest/tests/field_test.module index 35985da79..28bb37a49 100644 --- a/modules/simpletest/tests/field_test.module +++ b/modules/simpletest/tests/field_test.module @@ -354,8 +354,6 @@ function field_test_entity_form_submit_builder($form, &$form_state) { /** * Implement hook_field_info(). - * - * This field provides a textfield which only accepts the value 1. */ function field_test_field_info() { return array( @@ -575,23 +573,6 @@ function field_test_field_formatter_info() { } /** - * Implement hook_theme(). - */ -function field_test_theme() { - return array( - 'field_formatter_field_test_default' => array( - 'render element' => 'element', - ), - 'field_formatter_field_test_multiple' => array( - 'render element' => 'element', - ), - 'field_formatter_field_test_needs_additional_data' => array( - 'render element' => 'element', - ), - ); -} - -/** * Implement hook_field_formatter_prepare_view(). */ function field_test_field_formatter_prepare_view($obj_type, $objects, $field, $instances, $langcode, &$items, $build_mode) { @@ -1069,7 +1050,7 @@ function field_test_field_storage_create_field($field) { if ($field['storage']['type'] == 'field_test_storage_failure') { throw new Exception('field_test_storage_failure engine always fails to create fields'); } - + $data = _field_test_storage_data(); $data[$field['id']] = array( |