14 calls to node_add_body_field()

AddToAllBundlesConfigActionTest::testFailIfExists in core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php
Tests that the action can be set to fail if the field already exists.
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
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.
FilterAdminTest::testDisabledFormat in core/modules/filter/tests/src/Functional/FilterAdminTest.php
Tests whether a field using a disabled format is rendered.
FilterAdminTest::testFilterEnableAndDisable in core/modules/filter/tests/src/Functional/FilterAdminTest.php
Tests enabling and disabling of filters.
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.
RowPluginTest::setUp in core/modules/node/tests/src/Kernel/Views/RowPluginTest.php

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