RevisionableInterface::isDefaultRevision |
function |
core/lib/Drupal/Core/Entity/RevisionableInterface.php |
Checks if this entity is the default revision. |
ContentModerationState::isDefaultRevisionState |
function |
core/modules/content_moderation/src/ContentModerationState.php |
Determines if entities should be the default revision if in this state. |
ContentEntityBaseUnitTest::testIsDefaultRevision |
function |
core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php |
@covers ::isDefaultRevision |
ModerationInformation::isDefaultRevisionPublished |
function |
core/modules/content_moderation/src/ModerationInformation.php |
|
ModerationInformationTest::testIsDefaultRevisionPublished |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php |
@covers ::isDefaultRevisionPublished
@dataProvider isDefaultRevisionPublishedTestCases |
ModerationInformationInterface::isDefaultRevisionPublished |
function |
core/modules/content_moderation/src/ModerationInformationInterface.php |
Determines if the default revision for the given entity is published. |
ModerationInformationTest::isDefaultRevisionPublishedTestCases |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php |
Test cases for ::testIsDefaultRevisionPublished. |
ModerationInformationTest::testIsDefaultRevisionPublishedMultilingual |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php |
@covers ::isDefaultRevisionPublished |