Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
ModerationInformationTest::$moderationInformation | property | core/ |
The moderation information service. |
ModerationInformationTest::$modules | property | core/ |
Modules to enable. |
ModerationInformationTest::getEntityTypeManager | function | core/ |
Returns a mock Entity Type Manager. |
ModerationInformationTest::getUser | function | core/ |
Builds a mock user. |
ModerationInformationTest::isDefaultRevisionPublishedTestCases | function | core/ |
Test cases for ::testIsDefaultRevisionPublished. |
ModerationInformationTest::providerWorkflow | function | core/ |
Data provider for several tests. |
ModerationInformationTest::setUp | function | core/ |
|
ModerationInformationTest::setupModerationBundleInfo | function | core/ |
Sets up content moderation and entity manager mocking. |
ModerationInformationTest::testGetDefaultRevisionId | function | core/ |
@covers ::getDefaultRevisionId |
ModerationInformationTest::testGetLatestRevision | function | core/ |
@covers ::getLatestRevision @group legacy @expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableStorageInterface::getLatestRevisionId()… |
ModerationInformationTest::testGetLatestRevisionId | function | core/ |
@covers ::getLatestRevisionId @group legacy @expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevisionId is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use… |
ModerationInformationTest::testGetOriginalState | function | core/ |
@covers ::getOriginalState |
ModerationInformationTest::testGetOriginalStateMultilingual | function | core/ |
@covers ::getOriginalState |
ModerationInformationTest::testGetWorkflowForEntity | function | core/ |
@dataProvider providerWorkflow @covers ::getWorkflowForEntity |
ModerationInformationTest::testHasPendingRevision | function | core/ |
@covers ::hasPendingRevision |
ModerationInformationTest::testIsDefaultRevisionPublished | function | core/ |
@covers ::isDefaultRevisionPublished @dataProvider isDefaultRevisionPublishedTestCases |
ModerationInformationTest::testIsDefaultRevisionPublishedMultilingual | function | core/ |
@covers ::isDefaultRevisionPublished |
ModerationInformationTest::testIsLatestRevision | function | core/ |
@covers ::isLatestRevision @group legacy @expectedDeprecation Drupal\content_moderation\ModerationInformation::isLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableInterface::isLatestRevision() instead. See… |
ModerationInformationTest::testIsModeratedEntity | function | core/ |
@dataProvider providerWorkflow @covers ::isModeratedEntity |
ModerationInformationTest::testIsModeratedEntityType | function | core/ |
@covers ::isModeratedEntityType |
ModerationInformationTest::testShouldModerateEntities | function | core/ |
@dataProvider providerWorkflow @covers ::shouldModerateEntitiesOfBundle |
ModerationLocaleTest | class | core/ |
Test content_moderation functionality with localization and translation. |
ModerationLocaleTest.php | file | core/ |
|
ModerationLocaleTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ModerationLocaleTest::$modules | property | core/ |
Modules to enable. |
ModerationLocaleTest::assertLatestVersionPage | function | core/ |
Asserts that this is the "latest version" page for the specified node. |
ModerationLocaleTest::assertModerationForm | function | core/ |
Asserts that the moderation form is displayed for the specified node. |
ModerationLocaleTest::assertNoModerationForm | function | core/ |
Asserts that the moderation form is not displayed for the specified node. |
ModerationLocaleTest::assertNotLatestVersionPage | function | core/ |
Asserts that this is not the "latest version" page for the specified node. |
ModerationLocaleTest::hasModerationForm | function | core/ |
Checks whether the page contains the moderation form. |
ModerationLocaleTest::loadTranslation | function | core/ |
Loads the node translation for the specified language. |
ModerationLocaleTest::setUp | function | core/ |
Sets the test up. |
ModerationLocaleTest::submitNodeForm | function | core/ |
Submits the node form at the current URL with the specified values. |
ModerationLocaleTest::testLanguageIndependentContentModeration | function | core/ |
Tests that individual translations can be moderated independently. |
ModerationLocaleTest::testNewTranslationSourceValues | function | core/ |
Checks that new translation values are populated properly. |
ModerationLocaleTest::testTranslateModeratedContent | function | core/ |
Tests article translations can be moderated separately. |
ModerationOptOutPublish | class | core/ |
Alternate action plugin that can opt-out of modifying moderated entities. |
ModerationOptOutPublish.php | file | core/ |
|
ModerationOptOutPublish::$bundleInfo | property | core/ |
Bundle info service. |
ModerationOptOutPublish::$messenger | property | core/ |
Messenger service. |
ModerationOptOutPublish::$moderationInfo | property | core/ |
Moderation information service. |
ModerationOptOutPublish::access | function | core/ |
Checks object access. |
ModerationOptOutPublish::create | function | core/ |
Creates an instance of the plugin. |
ModerationOptOutPublish::__construct | function | core/ |
ModerationOptOutPublish constructor. |
ModerationOptOutPublishNode | class | core/ |
Alternate action plugin that can opt-out of modifying moderated entities. |
ModerationOptOutPublishNode.php | file | core/ |
|
ModerationOptOutPublishNode::__construct | function | core/ |
ModerationOptOutPublish constructor. |
ModerationOptOutUnpublish | class | core/ |
Alternate action plugin that can opt-out of modifying moderated entities. |
ModerationOptOutUnpublish.php | file | core/ |
|
ModerationOptOutUnpublish::$bundleInfo | property | core/ |
Bundle info service. |
Pagination
- Previous page
- Page 21
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.