81 calls to field_create_field()

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