function field_test_field_storage_info
Implements hook_field_storage_info().
1 call to field_test_field_storage_info()
- FieldInfoTestCase::testFieldInfo in modules/
field/ tests/ field.test - Test that field types and field definitions are correcly cached.
File
-
modules/
field/ tests/ field_test.storage.inc, line 12
Code
function field_test_field_storage_info() {
return array(
'field_test_storage' => array(
'label' => t('Test storage'),
'description' => t('Dummy test storage backend. Stores field values in the variable table.'),
),
'field_test_storage_failure' => array(
'label' => t('Test storage failure'),
'description' => t('Dummy test storage backend. Always fails to create fields.'),
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.