11 calls to ContentModerationState::loadFromModeratedEntity() in Drupal 8
- ContentModerationStateTest::testChangingContentLangcode in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Test changing the language of content without adding a translation.
- ContentModerationStateTest::testContentModerationStateDataRemoval in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests removal of content moderation state entity.
- ContentModerationStateTest::testContentModerationStatePendingRevisionDataRemoval in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests removal of content moderation state pending entity revisions.
- ContentModerationStateTest::testContentModerationStateRevisionDataRemoval in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests removal of content moderation state entity revisions.
- ContentModerationStateTest::testContentModerationStateTranslationDataRemoval in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests removal of content moderation state translations.
- ContentModerationStateTest::testMultilingualModeration in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests basic multilingual content moderation through the API.
- ContentModerationStateTest::testRevisionDefaultState in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Test the revision default state of the moderation state entity revisions.
- 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.