12 calls to ContentModerationState::loadFromModeratedEntity()

ContentModerationResaveTest::testContentModerationResave in core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php
Tests that Content Moderation works with entities being resaved.
ContentModerationStateTest::doTestContentModerationStateDataRemoval in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests removal of content moderation state entity.
ContentModerationStateTest::doTestContentModerationStatePendingRevisionDataRemoval in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests removal of content moderation state pending entity revisions.
ContentModerationStateTest::doTestContentModerationStateRevisionDataRemoval in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests removal of content moderation state entity revisions.
ContentModerationStateTest::doTestContentModerationStateTranslationDataRemoval in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests removal of content moderation state translations.
ContentModerationStateTest::doTestRevisionDefaultState in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests the revision default state of the moderation state entity revisions.
ContentModerationStateTest::testChangingContentLangcode in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests changing the language of content without adding a translation.
ContentModerationStateTest::testMultilingualModeration in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests basic multilingual content moderation through the API.
EntityOperations::entityDelete in core/modules/content_moderation/src/EntityOperations.php
EntityOperations::entityRevisionDelete in core/modules/content_moderation/src/EntityOperations.php
EntityOperations::entityTranslationDelete in core/modules/content_moderation/src/EntityOperations.php
EntityOperations::updateOrCreateFromEntity in core/modules/content_moderation/src/EntityOperations.php
Creates or updates the moderation state of an entity.

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