84 calls to field_create_instance()
- 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.
- FieldAttachOtherTestCase::testFieldAttachCache in modules/
field/ tests/ field.test - Test field cache.
- FieldAttachOtherTestCase::testFieldAttachPrepareViewMultiple in modules/
field/ tests/ field.test - Tests the 'multiple entity' behavior of field_attach_prepare_view().
- FieldAttachStorageTestCase::testFieldAttachCreateRenameBundle in modules/
field/ tests/ field.test - Test field_attach_create_bundle() and field_attach_rename_bundle().
- 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::testDeleteField in modules/
field/ tests/ field.test - Test the deletion of a field.
- FieldCrudTestCase::testReadFields in modules/
field/ tests/ field.test - Tests reading field definitions.
- FieldCrudTestCase::testUpdateField in modules/
field/ tests/ field.test - Test updating a field.
- 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::testFieldMap in modules/
field/ tests/ field.test - Test field_info_field_map().
- 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::testCreateFieldInstance in modules/
field/ tests/ field.test - Test the creation of a field instance.
- FieldInstanceCrudTestCase::testDeleteFieldInstance in modules/
field/ tests/ field.test - Test the deletion of a field instance.
- FieldInstanceCrudTestCase::testReadFieldInstance in modules/
field/ tests/ field.test - Test reading back an instance definition.
- FieldInstanceCrudTestCase::testUpdateFieldInstance in modules/
field/ tests/ field.test - Test the update 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::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::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::attachFileField in modules/
file/ tests/ file.test - Attaches a file field to an entity.
- 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.
- ForumTestCase::testForum in modules/
forum/ forum.test - Tests forum functionality through the admin and user interfaces.
- forum_enable in modules/
forum/ forum.install - Implements hook_enable().
- ImageFieldDefaultImagesTestCase::testDefaultImages in modules/
image/ image.test - Tests CRUD for fields and fields instances with default images.
- 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::testCheckBoxes in modules/
field/ modules/ options/ options.test - Tests the 'options_buttons' widget (multiple select).
- OptionsWidgetsTestCase::testOnOffCheckbox in modules/
field/ modules/ options/ options.test - Tests the 'options_onoff' widget.
- OptionsWidgetsTestCase::testRadioButtons in modules/
field/ modules/ options/ options.test - Tests the 'options_buttons' widget (single select).
- OptionsWidgetsTestCase::testSelectListMultiple in modules/
field/ modules/ options/ options.test - Tests the 'options_select' widget (multiple select).
- OptionsWidgetsTestCase::testSelectListSingle in modules/
field/ modules/ options/ options.test - Tests the 'options_select' widget (single select).
- 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().
- TaxonomyPrivateFileTestCase::setUp in modules/
taxonomy/ taxonomy.test - Sets up a Drupal site for running functional and integration tests.
- 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.
- TaxonomyTermTestCase::testNodeTermCreationAndDeletion in modules/
taxonomy/ taxonomy.test - Test term creation with a free-tagging vocabulary from the node form.
- 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.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.