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::testChangingContentLangcode in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests 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 - Tests 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.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.