Search for info
| Title | Object type | File name | Summary |
|---|---|---|---|
| ModerationInformation::getUnsupportedFeatures | function | core/ |
Gets unsupported features for a given entity type. |
| ModerationInformation::getWorkflowForEntity | function | core/ |
Gets the workflow for the given content entity. |
| ModerationInformation::getWorkflowForEntityTypeAndBundle | function | core/ |
Gets the workflow for the given entity type and bundle. |
| ModerationInformation::hasPendingRevision | function | core/ |
Determines if a pending revision exists for the specified entity. |
| ModerationInformation::isDefaultRevisionPublished | function | core/ |
Determines if the default revision for the given entity is published. |
| ModerationInformation::isFirstTimeModeration | function | core/ |
Determines if this entity is being moderated for the first time. |
| ModerationInformation::isLatestRevision | function | core/ |
Determines if an entity is a latest revision. |
| ModerationInformation::isLiveRevision | function | core/ |
Determines if an entity is "live". |
| ModerationInformation::isModeratedEntity | function | core/ |
Determines if an entity is moderated. |
| ModerationInformation::isModeratedEntityType | function | core/ |
Determines if an entity type has at least one moderated bundle. |
| ModerationInformation::shouldModerateEntitiesOfBundle | function | core/ |
Determines if an entity type/bundle entities should be moderated. |
| ModerationInformation::__construct | function | core/ |
Creates a new ModerationInformation instance. |
| ModerationInformationInterface | interface | core/ |
Interface for moderation_information service. |
| ModerationInformationInterface.php | file | core/ |
|
| 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::getLatestRevision | function | core/ |
Loads the latest revision of a specific entity. |
| ModerationInformationInterface::getLatestRevisionId | function | core/ |
Returns the revision ID of the latest revision of the given 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::getWorkflowForEntity | function | core/ |
Gets the workflow for the given content entity. |
| ModerationInformationInterface::getWorkflowForEntityTypeAndBundle | function | core/ |
Gets the workflow for the given entity type and bundle. |
| 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::isLatestRevision | function | core/ |
Determines if an entity is a latest revision. |
| 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/ |
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[[api-linebreak]] |
| ModerationInformationTest::testGetLatestRevision | function | core/ |
@covers ::getLatestRevision[[api-linebreak]] @group legacy @expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use… |
| ModerationInformationTest::testGetLatestRevisionId | function | core/ |
@covers ::getLatestRevisionId[[api-linebreak]] @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[[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 |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.