summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/field_test.module21
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(