49 calls to FieldStorageConfig::loadByName()
- BlockContentFieldFilterTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentFieldFilterTest.php - block_content_add_body_field in core/
modules/ block_content/ block_content.module - Adds the default body field to a custom block type.
- CKEditorIntegrationTest::setUp in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - CommentFieldsTest::testCommentDefaultFields in core/
modules/ comment/ tests/ src/ Functional/ CommentFieldsTest.php - Tests that the default 'comment_body' field is correctly added.
- CommentFieldsTest::testCommentInstallAfterContentModule in core/
modules/ comment/ tests/ src/ Functional/ CommentFieldsTest.php - Tests that comment module works when installed after a content module.
- CommentLanguageTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentLanguageTest.php - CommentManager::addBodyField in core/
modules/ comment/ src/ CommentManager.php - Creates a comment_body field.
- CommentTypeDeleteForm::buildForm in core/
modules/ comment/ src/ Form/ CommentTypeDeleteForm.php - Form constructor.
- CommentTypeTest::testCommentTypeDeletion in core/
modules/ comment/ tests/ src/ Functional/ CommentTypeTest.php - Tests deleting a comment type that still has content.
- CommentUninstallTest::testCommentUninstallWithField in core/
modules/ comment/ tests/ src/ Kernel/ CommentUninstallTest.php - Tests if comment module uninstall fails if the field exists.
- CommentUninstallTest::testCommentUninstallWithoutField in core/
modules/ comment/ tests/ src/ Kernel/ CommentUninstallTest.php - Tests if uninstallation succeeds if the field has been deleted beforehand.
- ConfigTranslationListUiTest::doFieldListTest in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationListUiTest.php - Tests the field listing for the translate operation.
- ConfigTranslationOverviewTest::testListingFieldsPage in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationOverviewTest.php - Tests the field listing for the translate operation.
- EntityReferenceFormatterTest::testLabelFormatter in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceFormatterTest.php - Tests the label formatter.
- EntityReferenceTestTrait::createEntityReferenceField in core/
modules/ field/ tests/ src/ Traits/ EntityReferenceTestTrait.php - Creates a field of an entity reference field storage on the specified bundle.
- EntityTestHalJsonInternalPropertyNormalizerTest::createEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestHalJsonInternalPropertyNormalizerTest.php - Creates the entity to be tested.
- EntityTestJsonInternalPropertyNormalizerTest::createEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestJsonInternalPropertyNormalizerTest.php - Creates the entity to be tested.
- EntityTranslationFormTest::testEntityFormLanguage in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityTranslationFormTest.php - Tests entity form language.
- FieldApiDataTest::getViewsData in core/
modules/ views/ tests/ src/ Kernel/ FieldApiDataTest.php - Gets the views data for the field created in setUp().
- FieldCrudTest::testDeleteFieldCrossDeletion in core/
modules/ field/ tests/ src/ Kernel/ FieldCrudTest.php - Tests the cross deletion behavior between field storages and fields.
- FieldTranslationSqlStorageTest::assertFieldStorageLangcode in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldTranslationSqlStorageTest.php - Checks whether field languages are correctly stored for the given entity.
- FieldUIDeleteTest::testDeleteField in core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIDeleteTest.php - Tests that deletion removes field storages and fields as expected.
- FileFieldTestBase::uploadNodeFiles in core/
modules/ file/ tests/ src/ Functional/ FileFieldTestBase.php - Uploads multiple files to a node.
- FileFieldTestBase::uploadNodeFiles in core/
modules/ file/ src/ Tests/ FileFieldTestBase.php - Uploads multiple files to a node.
- FormErrorHandlerCKEditorTest::setUp in core/
modules/ inline_form_errors/ tests/ src/ FunctionalJavascript/ FormErrorHandlerCKEditorTest.php - ForumUninstallTest::testForumUninstallWithField in core/
modules/ forum/ tests/ src/ Functional/ ForumUninstallTest.php - Tests if forum module uninstallation properly deletes the field.
- ForumUninstallTest::testForumUninstallWithoutFieldStorage in core/
modules/ forum/ tests/ src/ Functional/ ForumUninstallTest.php - Tests uninstallation if the field storage has been deleted beforehand.
- forum_uninstall in core/
modules/ forum/ forum.install - Implements hook_uninstall().
- ImageFieldDisplayTest::testImageFieldDefaultImage in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Test use of a default image with an image field.
- JsonapiKernelTestBase::createEntityReferenceField in core/
modules/ jsonapi/ tests/ src/ Kernel/ JsonapiKernelTestBase.php - Creates a field of an entity reference field storage on the bundle.
- JsonapiKernelTestBase::createTextField in core/
modules/ jsonapi/ tests/ src/ Kernel/ JsonapiKernelTestBase.php - Creates a field of an entity reference field storage on the bundle.
- LayoutBuilderEntityViewDisplay::addSectionField in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Adds a layout section field to a given bundle.
- layout_builder_post_update_make_layout_untranslatable in core/
modules/ layout_builder/ layout_builder.post_update.php - Set the layout builder field as non-translatable where possible.
- ManageFieldsFunctionalTest::addPersistentFieldStorage in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests that persistent field storage appears in the field UI.
- ManageFieldsFunctionalTest::assertFieldSettings in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Asserts field settings are as expected.
- ManageFieldsFunctionalTest::testDefaultValue in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests that default value is correctly validated and saved.
- ManageFieldsFunctionalTest::testDeleteField in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests that deletion removes field storages and fields as expected.
- ManageFieldsFunctionalTest::testDeleteTaxonomyField in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests that deletion removes field storages and fields as expected for a term.
- ManageFieldsFunctionalTest::testPreconfiguredFields in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests the "preconfigured field" functionality.
- NodeBodyFieldStorageTest::testFieldOverrides in core/
modules/ node/ tests/ src/ Kernel/ NodeBodyFieldStorageTest.php - Tests node body field storage persistence even if there are no instances.
- NodeFieldMultilingualTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeFieldMultilingualTest.php - NodeLanguageTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ NodeLanguageTest.php - node_add_body_field in core/
modules/ node/ node.module - Adds the default body field to a node type.
- OptionsFieldUITest::assertAllowedValuesInput in core/
modules/ options/ tests/ src/ Functional/ OptionsFieldUITest.php - Tests a string input for the 'allowed values' form element.
- OptionsFloatFieldImportTest::testImport in core/
modules/ options/ tests/ src/ Functional/ OptionsFloatFieldImportTest.php - Tests that importing list_float fields works.
- SearchLanguageTest::setUp in core/
modules/ search/ tests/ src/ Functional/ SearchLanguageTest.php - SearchMultilingualEntityTest::setUp in core/
modules/ search/ tests/ src/ Functional/ SearchMultilingualEntityTest.php - TaxonomyTranslationTestTrait::setUpTermReferenceField in core/
modules/ taxonomy/ src/ Tests/ TaxonomyTranslationTestTrait.php - Adds term reference field for the article content type.
- TaxonomyTranslationTestTrait::setUpTermReferenceField in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTranslationTestTrait.php - Adds term reference field for the article content type.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.