Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
field.info.inc
»
field_info_instance
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
53 calls to field_info_instance()
BulkDeleteTest::testDeleteFieldInstance
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
BulkDeleteTest.php
Verify that deleting an instance leaves the field data items in the database and that the appropriate Field API functions can operate on the deleted data and instance.
BulkDeleteTest::testPurgeField
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
BulkDeleteTest.php
Verify that fields are preserved and purged correctly as multiple instances are deleted and purged.
BulkDeleteTest::testPurgeInstance
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
BulkDeleteTest.php
Verify that field data items and instances are purged when an instance is deleted.
CommentTokenReplaceTest::testCommentTokenReplacement
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTokenReplaceTest.php
Creates a comment, then tests the tokens generated from it.
CustomBlockTypeTest::testCustomBlockTypeEditing
in drupal/
core/
modules/
block/
custom_block/
lib/
Drupal/
custom_block/
Tests/
CustomBlockTypeTest.php
Tests editing a block type using the UI.
custom_block_add_body_field
in drupal/
core/
modules/
block/
custom_block/
custom_block.module
Adds the default body field to a custom block type.
EditController::metadata
in drupal/
core/
modules/
edit/
lib/
Drupal/
edit/
EditController.php
Returns the metadata for a set of fields.
EditEntityFieldAccessCheck::validateAndUpcastRequestAttributes
in drupal/
core/
modules/
edit/
lib/
Drupal/
edit/
Access/
EditEntityFieldAccessCheck.php
Validates and upcasts request attributes.
EditFieldForm::buildEntity
in drupal/
core/
modules/
edit/
lib/
Drupal/
edit/
Form/
EditFieldForm.php
Returns a cloned entity containing updated field values.
EditIntegrationTest::getSelectedEditor
in drupal/
core/
modules/
editor/
lib/
Drupal/
editor/
Tests/
EditIntegrationTest.php
Retrieves the FieldInstance object for the given field and returns the editor that Edit selects.
EditIntegrationTest::testMetadata
in drupal/
core/
modules/
editor/
lib/
Drupal/
editor/
Tests/
EditIntegrationTest.php
Tests (custom) metadata when the formatted text editor is used.
EditorSelectionTest::getSelectedEditor
in drupal/
core/
modules/
edit/
lib/
Drupal/
edit/
Tests/
EditorSelectionTest.php
Retrieves the FieldInstance object for the given field and returns the editor that Edit selects.
EntityDisplay::getFormatter
in drupal/
core/
modules/
entity/
lib/
Drupal/
entity/
Plugin/
Core/
Entity/
EntityDisplay.php
Returns the Formatter plugin for a field.
EntityDisplayBase::setComponent
in drupal/
core/
modules/
entity/
lib/
Drupal/
entity/
EntityDisplayBase.php
Sets the display options for a component.
EntityFieldTest::assertComputedProperties
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityFieldTest.php
Executes the computed properties tests for the given entity type.
EntityFormDisplay::getWidget
in drupal/
core/
modules/
entity/
lib/
Drupal/
entity/
Plugin/
Core/
Entity/
EntityFormDisplay.php
Returns the Widget plugin for a field.
EntityReferenceController::handleAutocomplete
in drupal/
core/
modules/
entity_reference/
lib/
Drupal/
entity_reference/
EntityReferenceController.php
Autocomplete the label of an entity.
entity_reference_create_instance
in drupal/
core/
modules/
entity_reference/
entity_reference.module
Creates an instance of a entity reference field on the specified bundle.
entity_reference_field_update_field
in drupal/
core/
modules/
entity_reference/
entity_reference.module
Implements
hook_field_update_field
().
FieldAttachStorageTest::testEntityCreateRenameBundle
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldAttachStorageTest.php
Test entity_bundle_create() and entity_bundle_rename().
FieldAttachStorageTest::testFieldStorageDetailsAlter
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldAttachStorageTest.php
Test storage details alteration.
FieldInfoTest::testInstanceDisabledEntityType
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldInfoTest.php
Test that instances on disabled entity types are filtered out.
FieldInfoTest::testInstancePrepare
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldInfoTest.php
Test that cached instance definitions are ready for current runtime context.
FieldOverview::getExistingFieldOptions
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
FieldOverview.php
Returns an array of existing fields to be added to a bundle.
FieldSqlStorageTest::testFieldStorageDetails
in drupal/
core/
modules/
field_sql_storage/
lib/
Drupal/
field_sql_storage/
Tests/
FieldSqlStorageTest.php
Test the storage details.
FieldUpgradePathTest::testEntityDisplayUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
FieldUpgradePathTest.php
Tests upgrade of entity displays.
FieldUpgradePathTest::testEntityFormDisplayUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
FieldUpgradePathTest.php
Tests upgrade of entity form displays.
field_ui_instance_load
in drupal/
core/
modules/
field_ui/
field_ui.module
Menu loader callback: Loads a field instance based on field and bundle name.
field_view_field
in drupal/
core/
modules/
field/
field.module
Returns a renderable array for the value of a single field in an entity.
FileFieldTestBase::updateFileField
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldTestBase.php
Updates an existing file field with new settings.
FileFieldValidateTest::testRequired
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldValidateTest.php
Tests the required property on file fields.
FileFieldWidgetTest::testPrivateFileSetting
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldWidgetTest.php
Tests a file field with a "Private files" upload destination setting.
file_module_test_file_download_access
in drupal/
core/
modules/
file/
tests/
file_module_test.module
Implements
hook_file_download_access
().
ImageFieldDefaultImagesTest::testDefaultImages
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageFieldDefaultImagesTest.php
Tests CRUD for fields and fields instances with default images.
ManageDisplayTest::testNoFieldsDisplayOverview
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageDisplayTest.php
Tests that a message is shown when there are no fields.
ManageDisplayTest::testNonInitializedFields
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageDisplayTest.php
Tests that field instances with no explicit display settings do not break.
ManageFieldsTest::assertFieldSettings
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageFieldsTest.php
Asserts field settings are as expected.
ManageFieldsTest::testDefaultValue
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageFieldsTest.php
Tests that default value is correctly validated and saved.
ManageFieldsTest::testDeleteField
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageFieldsTest.php
Tests that deletion removes fields and instances as expected.
ManageFieldsTest::testDeleteTaxonomyField
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageFieldsTest.php
Tests that deletion removes fields and instances as expected for a term.
MetadataGeneratorTest::testEditorWithCustomMetadata
in drupal/
core/
modules/
edit/
lib/
Drupal/
edit/
Tests/
MetadataGeneratorTest.php
MetadataGeneratorTest::testSimpleEntityType
in drupal/
core/
modules/
edit/
lib/
Drupal/
edit/
Tests/
MetadataGeneratorTest.php
Tests a simple entity type, with two different simple fields.
NodeTokenReplaceTest::testNodeTokenReplacement
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeTokenReplaceTest.php
Creates a node, then tests the tokens generated from it.
NodeTypeTest::testNodeTypeEditing
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeTypeTest.php
Tests editing a node type using the UI.
node_add_body_field
in drupal/
core/
modules/
node/
node.module
Adds the default body field to a node type.
node_tokens
in drupal/
core/
modules/
node/
node.tokens.inc
Implements
hook_tokens
().
TextProcessed::getValue
in drupal/
core/
modules/
text/
lib/
Drupal/
text/
TextProcessed.php
Implements
\Drupal\Core\TypedData\TypedDataInterface::getValue
().
translation_entity_save_settings
in drupal/
core/
modules/
translation_entity/
translation_entity.module
Stores entity translation settings.
UserPictureUpgradePathTest::testUserPictureUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
UserPictureUpgradePathTest.php
Tests expected user picture conversions after a successful upgrade.
user_picture_enabled
in drupal/
core/
modules/
user/
user.module
Returns whether this site supports the default user picture feature.
VocabularyUnitTest::testTaxonomyVocabularyChangeMachineName
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
Tests/
VocabularyUnitTest.php
Tests that machine name changes are properly reflected.
_field_invoke_get_instances
in drupal/
core/
modules/
field/
field.attach.inc
Retrieves a list of instances to operate on.
_forum_node_check_node_type
in drupal/
core/
modules/
forum/
forum.module
Checks whether a node can be used in a forum, based on its content type.