49 calls to FieldStorageConfig::loadByName()

BlockContentFieldFilterTest::setUp in core/modules/block_content/tests/src/Functional/Views/BlockContentFieldFilterTest.php
Sets up the test.
block_content_add_body_field in core/modules/block_content/block_content.module
Adds the default body field to a block type.
CKEditor5FragmentLinkTest::setUp in core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5FragmentLinkTest.php
CommentFieldsTest::testCommentDefaultFields in core/modules/comment/tests/src/Functional/CommentFieldsTest.php
Tests that the default 'comment_body' field is correctly added.
CommentLanguageTest::setUp in core/modules/comment/tests/src/Functional/CommentLanguageTest.php
CommentManager::addBodyField in core/modules/comment/src/CommentManager.php
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.
EntityReferenceFieldCreationTrait::createEntityReferenceField in core/modules/field/tests/src/Traits/EntityReferenceFieldCreationTrait.php
Creates a field of an entity reference field storage on the specified bundle.
EntityReferenceFormatterTest::testLabelFormatter in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
Tests the label formatter.
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.
FormErrorHandlerCKEditor5Test::setUp in core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.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
Tests use of a default image with an image field.
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.
ManageFieldsFunctionalTest::testDefaultValue in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
Tests that default value is correctly validated and saved.
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.
ManageFieldsFunctionalTest::testTranslationDefaults in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
Test translation defaults.
ManageFieldsLifecycleTest::addPersistentFieldStorage in core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php
Tests that persistent field storage appears in the field UI.
ManageFieldsLifecycleTest::assertFieldSettings in core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php
Asserts field settings are as expected.
ManageFieldsTest::testAddField in core/modules/field_ui/tests/src/Functional/ManageFieldsTest.php
Tests adding a field.
ManageFieldsTest::testAddField in core/modules/field_ui/tests/src/FunctionalJavascript/ManageFieldsTest.php
Tests field add.
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
Sets up the test.
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 an input array for the 'allowed values' form element.
OptionsFieldUITest::testOptionsAllowedValuesFloat in core/modules/options/tests/src/Functional/OptionsFieldUITest.php
Options (float) : test 'allowed values' input.
OptionsFieldUITest::testOptionsAllowedValuesInteger in core/modules/options/tests/src/Functional/OptionsFieldUITest.php
Options (integer) : test 'allowed values' input.
OptionsFieldUITest::testOptionsAllowedValuesText in core/modules/options/tests/src/Functional/OptionsFieldUITest.php
Options (text) : test 'allowed values' input.
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/tests/src/Functional/TaxonomyTranslationTestTrait.php
Adds term reference field for the article content type.
TextareaWithSummaryTest::testTextSummaryBehavior in core/modules/text/tests/src/FunctionalJavascript/TextareaWithSummaryTest.php
Tests the textSummary javascript behavior.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.