13 calls to node_add_body_field() in Drupal 9
- ConfigImportRecreateTest::testRecreateEntity in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImportRecreateTest.php - ContentTypeCreationTrait::createContentType in core/
modules/ node/ tests/ src/ Traits/ ContentTypeCreationTrait.php - Creates a custom content type based on default settings.
- EditorAdminTest::testDisableFormatWithEditor in core/
modules/ editor/ tests/ src/ Functional/ EditorAdminTest.php - Tests format disabling.
- EditorFileUsageTest::setUp in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileUsageTest.php - EditorImageDialogTest::setUp in core/
modules/ editor/ tests/ src/ Kernel/ EditorImageDialogTest.php - Sets up the test.
- EntityDisplayTest::testDeleteBundle in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityDisplayTest.php - Tests deleting a bundle.
- EntityNodeType::import in core/
modules/ node/ src/ Plugin/ migrate/ destination/ EntityNodeType.php - Import the row.
- FieldTest::setUp in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ FieldTest.php - FilterAdminTest::testDisabledFormat in core/
modules/ filter/ tests/ src/ Functional/ FilterAdminTest.php - Tests whether a field using a disabled format is rendered.
- NodeBodyFieldStorageTest::testFieldOverrides in core/
modules/ node/ tests/ src/ Kernel/ NodeBodyFieldStorageTest.php - Tests node body field storage persistence even if there are no instances.
- NodeFieldTokensTest::testViewsTokenReplacement in core/
modules/ node/ tests/ src/ Functional/ Views/ NodeFieldTokensTest.php - Tests token replacement for Views tokens supplied by the Node module.
- NodeTokenReplaceTest::setUp in core/
modules/ node/ tests/ src/ Kernel/ NodeTokenReplaceTest.php - NodeTypeForm::save in core/
modules/ node/ src/ NodeTypeForm.php - Form submission handler for the 'save' action.