Search for %s
- Search 7.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| ModerationInformationInterface::canModerateEntitiesOfEntityType | function | core/ |
Determines if an entity type can have moderated entities. |
| ModerationInformationInterface::getAffectedRevisionTranslation | function | core/ |
Returns the revision translation affected translation of a revision. |
| ModerationInformationInterface::getDefaultRevisionId | function | core/ |
Returns the revision ID of the default revision for the specified entity. |
| ModerationInformationInterface::getOriginalState | function | core/ |
Gets the original or initial state of the given entity. |
| ModerationInformationInterface::getUnsupportedFeatures | function | core/ |
Gets unsupported features for a given entity type. |
| ModerationInformationInterface::hasPendingRevision | function | core/ |
Determines if a pending revision exists for the specified entity. |
| ModerationInformationInterface::isDefaultRevisionPublished | function | core/ |
Determines if the default revision for the given entity is published. |
| ModerationInformationInterface::isLiveRevision | function | core/ |
Determines if an entity is "live". |
| ModerationInformationInterface::isModeratedEntity | function | core/ |
Determines if an entity is moderated. |
| ModerationInformationInterface::isModeratedEntityType | function | core/ |
Determines if an entity type has at least one moderated bundle. |
| ModerationInformationInterface::shouldModerateEntitiesOfBundle | function | core/ |
Determines if an entity type/bundle entities should be moderated. |
| ModerationInformationTest | class | core/ |
@coversDefaultClass \Drupal\content_moderation\ModerationInformation[[api-linebreak]] @group content_moderation |
| ModerationInformationTest | class | core/ |
@coversDefaultClass \Drupal\content_moderation\ModerationInformation[[api-linebreak]] @group content_moderation |
| ModerationInformationTest.php | file | core/ |
|
| ModerationInformationTest.php | file | core/ |
|
| ModerationInformationTest::$moderationInformation | property | core/ |
The moderation information service. |
| ModerationInformationTest::$modules | property | core/ |
|
| 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 type bundle info mocking. |
| ModerationInformationTest::testGetDefaultRevisionId | function | core/ |
@covers ::getDefaultRevisionId[[api-linebreak]] |
| ModerationInformationTest::testGetOriginalState | function | core/ |
@covers ::getOriginalState[[api-linebreak]] |
| ModerationInformationTest::testGetOriginalStateMultilingual | function | core/ |
@covers ::getOriginalState[[api-linebreak]] |
| ModerationInformationTest::testGetWorkflowForEntity | function | core/ |
@dataProvider providerWorkflow @covers ::getWorkflowForEntity[[api-linebreak]] |
| ModerationInformationTest::testHasPendingRevision | function | core/ |
@covers ::hasPendingRevision[[api-linebreak]] |
| ModerationInformationTest::testIsDefaultRevisionPublished | function | core/ |
@covers ::isDefaultRevisionPublished[[api-linebreak]] @dataProvider isDefaultRevisionPublishedTestCases |
| ModerationInformationTest::testIsDefaultRevisionPublishedMultilingual | function | core/ |
@covers ::isDefaultRevisionPublished[[api-linebreak]] |
| ModerationInformationTest::testIsModeratedEntity | function | core/ |
@dataProvider providerWorkflow @covers ::isModeratedEntity[[api-linebreak]] |
| ModerationInformationTest::testIsModeratedEntityType | function | core/ |
@covers ::isModeratedEntityType[[api-linebreak]] |
| ModerationInformationTest::testShouldModerateEntities | function | core/ |
@dataProvider providerWorkflow @covers ::shouldModerateEntitiesOfBundle[[api-linebreak]] |
| ModerationLocaleTest | class | core/ |
Test content_moderation functionality with localization and translation. |
| ModerationLocaleTest.php | file | core/ |
|
| ModerationLocaleTest::$defaultTheme | property | core/ |
|
| 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/ |
|
| 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/ |
Pagination
- Previous page
- Page 875
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.