function GenericFieldTest::getFieldTypes
Supply the field types we wish to test.
Return an array of field types to instantiate and test.
Return value
array The field types we wish to use.
3 calls to GenericFieldTest::getFieldTypes()
- GenericFieldTest::codeTestGenericAddAllFields in field_permission_example/
tests/ field_permission_example.test - Add all testable fields as instances to a content type.
- GenericFieldTest::formAddAllFields in field_permission_example/
tests/ field_permission_example.test - Add all fields using Form API.
- GenericFieldTest::runTestGenericFieldInfo in field_permission_example/
tests/ field_permission_example.test - Verify that all required fields are specified in hook_field_info().
1 method overrides GenericFieldTest::getFieldTypes()
- FieldTestPermissionsExample::getFieldTypes in field_permission_example/
tests/ field_permission_example.test - Supply the field types we wish to test.
File
-
field_permission_example/
tests/ field_permission_example.test, line 51
Class
- GenericFieldTest
- A generic field testing class.
Code
protected function getFieldTypes() {
return array(
'these_are_not',
'valid_field_types',
'please_override',
);
}