Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
field.crud.inc
»
field_create_instance
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
81 calls to field_create_instance()
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.
FieldAttachOtherTestCase::testFieldAttachCache
in drupal/
modules/
field/
tests/
field.test
Test field cache.
FieldAttachOtherTestCase::testFieldAttachPrepareViewMultiple
in drupal/
modules/
field/
tests/
field.test
Tests the 'multiple entity' behavior of
field_attach_prepare_view
().
FieldAttachStorageTestCase::testFieldAttachCreateRenameBundle
in drupal/
modules/
field/
tests/
field.test
Test
field_attach_create_bundle
() and
field_attach_rename_bundle
().
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::testDeleteField
in drupal/
modules/
field/
tests/
field.test
Test the deletion of a field.
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.
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::testFieldMap
in drupal/
modules/
field/
tests/
field.test
Test
field_info_field_map
().
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::testCreateFieldInstance
in drupal/
modules/
field/
tests/
field.test
Test the creation of a field instance.
FieldInstanceCrudTestCase::testDeleteFieldInstance
in drupal/
modules/
field/
tests/
field.test
Test the deletion of a field instance.
FieldInstanceCrudTestCase::testReadFieldInstance
in drupal/
modules/
field/
tests/
field.test
Test reading back an instance definition.
FieldInstanceCrudTestCase::testUpdateFieldInstance
in drupal/
modules/
field/
tests/
field.test
Test the update 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::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::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::attachFileField
in drupal/
modules/
file/
tests/
file.test
Attaches a file field to an entity.
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
().
ImageFieldDefaultImagesTestCase::testDefaultImages
in drupal/
modules/
image/
image.test
Tests CRUD for fields and fields instances with default images.
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::testCheckBoxes
in drupal/
modules/
field/
modules/
options/
options.test
Tests the 'options_buttons' widget (multiple select).
OptionsWidgetsTestCase::testOnOffCheckbox
in drupal/
modules/
field/
modules/
options/
options.test
Tests the 'options_onoff' widget.
OptionsWidgetsTestCase::testRadioButtons
in drupal/
modules/
field/
modules/
options/
options.test
Tests the 'options_buttons' widget (single select).
OptionsWidgetsTestCase::testSelectListMultiple
in drupal/
modules/
field/
modules/
options/
options.test
Tests the 'options_select' widget (multiple select).
OptionsWidgetsTestCase::testSelectListSingle
in drupal/
modules/
field/
modules/
options/
options.test
Tests the 'options_select' widget (single select).
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.
TaxonomyTermTestCase::testNodeTermCreationAndDeletion
in drupal/
modules/
taxonomy/
taxonomy.test
Test term creation with a free-tagging vocabulary from the node form.
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.