You are here

82 calls to field_create_field() in Drupal 7

AJAXMultiFormTestCase::setUp in modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.
EntityFieldQueryTestCase::setUp in modules/simpletest/tests/entity_query.test
Sets up a Drupal site for running functional and integration tests.
FieldAttachStorageTestCase::testFieldAttachDeleteBundle in modules/field/tests/field.test
Test field_attach_delete_bundle().
FieldAttachStorageTestCase::testFieldAttachLoadMultiple in modules/field/tests/field.test
Test the 'multiple' load feature.
FieldAttachStorageTestCase::testFieldAttachSaveLoadDifferentStorage in modules/field/tests/field.test
Test saving and loading fields using different storage backends.
FieldAttachStorageTestCase::testFieldHasData in modules/field/tests/field.test
Test field_has_data().
FieldAttachStorageTestCase::testFieldStorageDetailsAlter in modules/field/tests/field.test
Test storage details alteration.
FieldAttachTestCase::createFieldWithInstance in modules/field/tests/field.test
Create a field and an instance of it.
FieldBulkDeleteTestCase::setUp in modules/field/tests/field.test
Set the default field storage backend for fields created during tests.
FieldCrudTestCase::testActive in modules/field/tests/field.test
Test that fields are properly marked active or inactive.
FieldCrudTestCase::testCreateField in modules/field/tests/field.test
Test the creation of a field.
FieldCrudTestCase::testCreateFieldFail in modules/field/tests/field.test
Test failure to create a field.
FieldCrudTestCase::testDeleteField in modules/field/tests/field.test
Test the deletion of a field.
FieldCrudTestCase::testFieldIndexes in modules/field/tests/field.test
Test creation of indexes on data column.
FieldCrudTestCase::testReadField in modules/field/tests/field.test
Test reading back a field definition.
FieldCrudTestCase::testReadFields in modules/field/tests/field.test
Tests reading field definitions.
FieldCrudTestCase::testUpdateField in modules/field/tests/field.test
Test updating a field.
FieldCrudTestCase::testUpdateFieldForbid in modules/field/tests/field.test
Test field type modules forbidding an update.
FieldCrudTestCase::testUpdateFieldType in modules/field/tests/field.test
FieldDisplayAPITestCase::setUp in modules/field/tests/field.test
Set the default field storage backend for fields created during tests.
FieldFormTestCase::testFieldFormAccess in modules/field/tests/field.test
Tests fields with no 'edit' access.
FieldFormTestCase::testFieldFormJSAddMore in modules/field/tests/field.test
FieldFormTestCase::testFieldFormMultipleWidget in modules/field/tests/field.test
Tests widgets handling multiple values.
FieldFormTestCase::testFieldFormMultivalueWithRequiredRadio in modules/field/tests/field.test
Tests widget handling of multiple required radios.
FieldFormTestCase::testFieldFormSingle in modules/field/tests/field.test
FieldFormTestCase::testFieldFormSingleRequired in modules/field/tests/field.test
FieldFormTestCase::testFieldFormUnlimited in modules/field/tests/field.test
FieldFormTestCase::testFieldFormUnlimitedRequired in modules/field/tests/field.test
Tests the position of the required label.
FieldFormTestCase::testNestedFieldForm in modules/field/tests/field.test
Tests Field API form integration within a subform.
FieldInfoTestCase::testFieldInfo in modules/field/tests/field.test
Test that field types and field definitions are correcly cached.
FieldInfoTestCase::testFieldInfoCache in modules/field/tests/field.test
Tests that the field info cache can be built correctly.
FieldInfoTestCase::testFieldMap in modules/field/tests/field.test
Test field_info_field_map().
FieldInfoTestCase::testFieldPrepare in modules/field/tests/field.test
Test that cached field definitions are ready for current runtime context.
FieldInfoTestCase::testInstanceDisabledEntityType in modules/field/tests/field.test
Test that instances on disabled entity types are filtered out.
FieldInfoTestCase::testInstancePrepare in modules/field/tests/field.test
Test that cached instance definitions are ready for current runtime context.
FieldInstanceCrudTestCase::setUp in modules/field/tests/field.test
Set the default field storage backend for fields created during tests.
FieldInstanceCrudTestCase::testCreateFieldInstance in modules/field/tests/field.test
Test the creation of a field instance.
FieldSqlStorageTestCase::setUp in modules/field/modules/field_sql_storage/field_sql_storage.test
Sets up a Drupal site for running functional and integration tests.
FieldSqlStorageTestCase::testFieldSqlStorageForeignKeys in modules/field/modules/field_sql_storage/field_sql_storage.test
Test foreign key support.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumns in modules/field/modules/field_sql_storage/field_sql_storage.test
Test handling multiple conditions on multiple columns of one field.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumnsMultipleLanguages in modules/field/modules/field_sql_storage/field_sql_storage.test
Test handling multiple conditions on multiple columns of one field for multiple languages.
FieldSqlStorageTestCase::testFieldUpdateFailure in modules/field/modules/field_sql_storage/field_sql_storage.test
Test that failure to create fields is handled gracefully.
FieldSqlStorageTestCase::testFieldUpdateIndexesWithData in modules/field/modules/field_sql_storage/field_sql_storage.test
Test adding and removing indexes while data is present.
FieldSqlStorageTestCase::testUpdateFieldSchemaWithData in modules/field/modules/field_sql_storage/field_sql_storage.test
Test trying to update a field with data.
FieldTranslationsTestCase::setUp in modules/field/tests/field.test
Set the default field storage backend for fields created during tests.
FieldTranslationsTestCase::testFieldDisplayLanguage in modules/field/tests/field.test
Tests display language logic for translatable fields.
FieldUIAlterTestCase::testDefaultWidgetPropertiesAlter in modules/field_ui/field_ui.test
Tests hook_field_widget_properties_alter() on the default field widget.
FieldUIManageFieldsTestCase::testDefaultValue in modules/field_ui/field_ui.test
Tests that default value is correctly validated and saved.
FieldUIManageFieldsTestCase::testHiddenFields in modules/field_ui/field_ui.test
Tests that Field UI respects the 'no_ui' option in hook_field_info().
field_ui_field_overview_form_submit in modules/field_ui/field_ui.admin.inc
Form submission handler for field_ui_field_overview_form().
FileFieldTestCase::createFileField in modules/file/tests/file.test
Creates a new file field.
FileTaxonomyTermTestCase::createAttachFileField in modules/file/tests/file.test
Creates a file field and attaches it to the "Tags" taxonomy vocabulary.
FormsArbitraryRebuildTestCase::setUp in modules/simpletest/tests/form.test
Sets up a Drupal site for running functional and integration tests.
FormsRebuildTestCase::testPreserveFormActionAfterAJAX in modules/simpletest/tests/form.test
Tests that a form's action is retained after an Ajax submission.
forum_enable in modules/forum/forum.install
Implements hook_enable().
ImageFieldTestCase::createImageField in modules/image/image.test
Create a new image field.
ListDynamicValuesTestCase::setUp in modules/field/modules/list/tests/list.test
Set the default field storage backend for fields created during tests.
ListFieldTestCase::setUp in modules/field/modules/list/tests/list.test
Set the default field storage backend for fields created during tests.
ListFieldTestCase::testUpdateAllowedValues in modules/field/modules/list/tests/list.test
Test that allowed values can be updated.
ListFieldUITestCase::createListField in modules/field/modules/list/tests/list.test
Helper function to create list field of a given type.
NodeAccessFieldTestCase::setUp in modules/node/node.test
Sets up a Drupal site for running functional and integration tests.
node_add_body_field in modules/node/node.module
Adds default body field to a node type.
NumberFieldTestCase::testNumberDecimalField in modules/field/modules/number/number.test
Test number_decimal field.
NumberFieldTestCase::testNumberFloatField in modules/field/modules/number/number.test
Test number_float field.
OptionsWidgetsTestCase::setUp in modules/field/modules/options/options.test
Set the default field storage backend for fields created during tests.
PagePreviewTestCase::setUp in modules/node/node.test
Sets up a Drupal site for running functional and integration tests.
RdfRdfaMarkupTestCase::testAttributesInMarkupFile in modules/rdf/rdf.test
Ensure that file fields have the correct resource as the object in RDFa when displayed as a teaser.
standard_install in profiles/standard/standard.install
Implements hook_install().
TaxonomyRSSTestCase::setUp in modules/taxonomy/taxonomy.test
Sets up a Drupal site for running functional and integration tests.
TaxonomyTermFieldMultipleVocabularyTestCase::setUp in modules/taxonomy/taxonomy.test
Sets up a Drupal site for running functional and integration tests.
TaxonomyTermFieldTestCase::setUp in modules/taxonomy/taxonomy.test
Sets up a Drupal site for running functional and integration tests.
TaxonomyTermIndexTestCase::setUp in modules/taxonomy/taxonomy.test
Sets up a Drupal site for running functional and integration tests.
TaxonomyTermTestCase::setUp in modules/taxonomy/taxonomy.test
Sets up a Drupal site for running functional and integration tests.
TaxonomyTokenReplaceTestCase::setUp in modules/taxonomy/taxonomy.test
Sets up a Drupal site for running functional and integration tests.
TaxonomyVocabularyTestCase::testTaxonomyVocabularyChangeMachineName in modules/taxonomy/taxonomy.test
Tests that machine name changes are properly reflected.
TaxonomyVocabularyTestCase::testUninstallReinstall in modules/taxonomy/taxonomy.test
Test uninstall and reinstall of the taxonomy module.
TextFieldTestCase::testTextFieldValidation in modules/field/modules/text/text.test
Test text field validation.
TextFieldTestCase::_testTextfieldWidgets in modules/field/modules/text/text.test
Helper function for testTextfieldWidgets().
TextFieldTestCase::_testTextfieldWidgetsFormatted in modules/field/modules/text/text.test
Helper function for testTextfieldWidgetsFormatted().
UserPasswordResetTestCase::testUserPasswordReset in modules/user/user.test
Tests password reset functionality.
UserRegistrationTestCase::testRegistrationWithUserFields in modules/user/user.test
Tests Field API fields on user registration forms.
_comment_body_field_create in modules/comment/comment.module
Creates a comment_body field instance for a given node type.