42 calls to FieldConfig::loadByName() in Zircon Profile 8
- block_content_add_body_field in core/
modules/ block_content/ block_content.module - Adds the default body field to a custom block type.
- BulkDeleteTest::testDeleteField in core/
modules/ field/ src/ Tests/ BulkDeleteTest.php - Verify that deleting a field leaves the field data items in the database and that the appropriate Field API functions can operate on the deleted data and field definition.
- BulkDeleteTest::testPurgeField in core/
modules/ field/ src/ Tests/ BulkDeleteTest.php - Verify that field data items and fields are purged when a field storage is deleted.
- BulkDeleteTest::testPurgeFieldStorage in core/
modules/ field/ src/ Tests/ BulkDeleteTest.php - Verify that field storages are preserved and purged correctly as multiple fields are deleted and purged.
- CommentCacheTagsTest::createEntity in core/
modules/ comment/ src/ Tests/ CommentCacheTagsTest.php - Creates the entity to be tested.
- CommentFieldAccessTest::testAccessToAdministrativeFields in core/
modules/ comment/ src/ Tests/ CommentFieldAccessTest.php - Test permissions on comment fields.
- CommentFieldsTest::testCommentDefaultFields in core/
modules/ comment/ src/ Tests/ CommentFieldsTest.php - Tests that the default 'comment_body' field is correctly added.
- CommentManager::addBodyField in core/
modules/ comment/ src/ CommentManager.php - Creates a comment_body field.
- CommentNonNodeTest::postComment in core/
modules/ comment/ src/ Tests/ CommentNonNodeTest.php - Posts a comment.
- CommentTestBase::postComment in core/
modules/ comment/ src/ Tests/ CommentTestBase.php - Posts a comment.
- CommentTestBase::setCommentSettings in core/
modules/ comment/ src/ Tests/ CommentTestBase.php - Sets a comment settings variable for the article content type.
- CommentTypeTest::testCommentTypeEditing in core/
modules/ comment/ src/ Tests/ CommentTypeTest.php - Tests editing a comment type using the UI.
- ContentTranslationSettingsTest::testSettingsUI in core/
modules/ content_translation/ src/ Tests/ ContentTranslationSettingsTest.php - Tests that the settings UI works as expected.
- DenormalizeTest::testMarkFieldForDeletion in core/
modules/ hal/ src/ Tests/ DenormalizeTest.php - Test that a field set to an empty array is different than an absent field.
- EditorLoadingTest::setUp in core/
modules/ editor/ src/ Tests/ EditorLoadingTest.php - Sets up a Drupal site for running functional and integration tests.
- EntityLanguageTestBase::toggleFieldTranslatability in core/
modules/ system/ src/ Tests/ Entity/ EntityLanguageTestBase.php - Toggles field storage translatability.
- EntityReferenceFieldTest::testReferencedEntitiesStringId in core/
modules/ system/ src/ Tests/ Entity/ EntityReferenceFieldTest.php - Tests referencing entities with string IDs.
- EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets in core/
modules/ field/ src/ Tests/ EntityReference/ EntityReferenceIntegrationTest.php - Tests the entity reference field with all its supported field widgets.
- EntityReferenceSelectionReferenceableTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Entity/ EntityReferenceSelectionReferenceableTest.php - EntityReferenceSettingsTest::testConfigTargetBundleDeletion in core/
modules/ field/ src/ Tests/ EntityReference/ EntityReferenceSettingsTest.php - Tests that config bundle deletions are mirrored in field config settings.
- EntityReferenceSettingsTest::testCustomTargetBundleDeletion in core/
modules/ field/ src/ Tests/ EntityReference/ EntityReferenceSettingsTest.php - Tests that deletions of custom bundles are mirrored in field settings.
- EntityReferenceTestTrait::createEntityReferenceField in core/
modules/ field/ src/ Tests/ EntityReference/ EntityReferenceTestTrait.php - Creates a field of an entity reference field storage on the specified bundle.
- FieldCrudTest::testDeleteFieldCrossDeletion in core/
modules/ field/ src/ Tests/ FieldCrudTest.php - Tests the cross deletion behavior between field storages and fields.
- FieldUIDeleteTest::testDeleteField in core/
modules/ field_ui/ src/ Tests/ FieldUIDeleteTest.php - Tests that deletion removes field storages and fields as expected.
- field_field_storage_config_update in core/
modules/ field/ field.module - Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
- FileFieldTestBase::updateFileField in core/
modules/ file/ src/ Tests/ FileFieldTestBase.php - Updates an existing file field with new settings.
- FileFieldValidateTest::testRequired in core/
modules/ file/ src/ Tests/ FileFieldValidateTest.php - Tests the required property on file fields.
- FileFieldWidgetTest::testPrivateFileSetting in core/
modules/ file/ src/ Tests/ FileFieldWidgetTest.php - Tests a file field with a "Private files" upload destination setting.
- ManageFieldsTest::assertFieldSettings in core/
modules/ field_ui/ src/ Tests/ ManageFieldsTest.php - Asserts field settings are as expected.
- ManageFieldsTest::testDefaultValue in core/
modules/ field_ui/ src/ Tests/ ManageFieldsTest.php - Tests that default value is correctly validated and saved.
- ManageFieldsTest::testDeleteField in core/
modules/ field_ui/ src/ Tests/ ManageFieldsTest.php - Tests that deletion removes field storages and fields as expected.
- ManageFieldsTest::testDeleteTaxonomyField in core/
modules/ field_ui/ src/ Tests/ ManageFieldsTest.php - Tests that deletion removes field storages and fields as expected for a term.
- ManageFieldsTest::testPreconfiguredFields in core/
modules/ field_ui/ src/ Tests/ ManageFieldsTest.php - Tests the "preconfigured field" functionality.
- MigrateNodeTypeTest::testNodeType in core/
modules/ node/ src/ Tests/ Migrate/ d6/ MigrateNodeTypeTest.php - Tests Drupal 6 node type to Drupal 8 migration.
- NodeBodyFieldStorageTest::testFieldOverrides in core/
modules/ node/ src/ Tests/ NodeBodyFieldStorageTest.php - Tests node body field storage persistence even if there are no instances.
- NodeImportCreateTest::testImportCreate in core/
modules/ node/ src/ Tests/ Config/ NodeImportCreateTest.php - Tests creating a content type during config import.
- NodeTypeTest::testNodeTypeEditing in core/
modules/ node/ src/ Tests/ NodeTypeTest.php - Tests editing a node type using the UI.
- node_add_body_field in core/
modules/ node/ node.module - Adds the default body field to a node type.
- SearchCommentTest::testSearchResultsComment in core/
modules/ search/ src/ Tests/ SearchCommentTest.php - Verify that comments are rendered using proper format in search results.
- SearchCommentTest::testSearchResultsCommentAccess in core/
modules/ search/ src/ Tests/ SearchCommentTest.php - Verify access rules for comment indexing with different permissions.
- TermTest::setUp in core/
modules/ taxonomy/ src/ Tests/ TermTest.php - Sets up a Drupal site for running functional and integration tests.
- UserEntityReferenceTest::testUserSelectionByRole in core/
modules/ user/ src/ Tests/ UserEntityReferenceTest.php - Tests user selection by roles.