Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
ContentModerationInterface::getBundlesForEntityType | function | core/ |
Gets any bundles the workflow is applied to for the given entity type. |
ContentModerationInterface::getEntityTypes | function | core/ |
Gets the entity types the workflow is applied to. |
ContentModerationInterface::getInitialState | function | core/ |
|
ContentModerationInterface::removeEntityTypeAndBundle | function | core/ |
Removes an entity type ID / bundle ID from the workflow. |
ContentModerationPermissionsTest | class | core/ |
Test to ensure content moderation permissions are generated correctly. |
ContentModerationPermissionsTest.php | file | core/ |
|
ContentModerationPermissionsTest::$modules | property | core/ |
Modules to install. |
ContentModerationPermissionsTest::permissionsTestCases | function | core/ |
Test cases for ::testPermissions. |
ContentModerationPermissionsTest::setUp | function | core/ |
|
ContentModerationPermissionsTest::testPermissions | function | core/ |
Tests permissions generated by content moderation. |
ContentModerationResaveTest | class | core/ |
Tests Content Moderation with entities that get re-saved automatically. |
ContentModerationResaveTest.php | file | core/ |
|
ContentModerationResaveTest::$contentModerationStateStorage | property | core/ |
The content moderation state entity storage. |
ContentModerationResaveTest::$entityStorage | property | core/ |
The entity storage for the entity type used in the test. |
ContentModerationResaveTest::$modules | property | core/ |
Modules to install. |
ContentModerationResaveTest::$state | property | core/ |
The state service. |
ContentModerationResaveTest::setUp | function | core/ |
|
ContentModerationResaveTest::testContentModerationResave | function | core/ |
Tests that Content Moderation works with entities being resaved. |
ContentModerationRouteSubscriber | class | core/ |
Subscriber for moderated revisionable entity forms. |
ContentModerationRouteSubscriber.php | file | core/ |
|
ContentModerationRouteSubscriber::$entityTypeManager | property | core/ |
The entity type manager. |
ContentModerationRouteSubscriber::$moderatedEntityTypes | property | core/ |
An associative array of moderated entity types keyed by ID. |
ContentModerationRouteSubscriber::alterRoutes | function | core/ |
Alters existing routes for a specific collection. |
ContentModerationRouteSubscriber::getModeratedEntityTypes | function | core/ |
Returns the moderated entity types. |
ContentModerationRouteSubscriber::getSubscribedEvents | function | core/ |
|
ContentModerationRouteSubscriber::setLatestRevisionFlag | function | core/ |
Ensure revisionable entities load the latest revision on entity forms. |
ContentModerationRouteSubscriber::__construct | function | core/ |
ContentModerationRouteSubscriber constructor. |
ContentModerationRouteSubscriberTest | class | core/ |
@coversDefaultClass \Drupal\content_moderation\Routing\ContentModerationRouteSubscriber |
ContentModerationRouteSubscriberTest.php | file | core/ |
|
ContentModerationRouteSubscriberTest::$routeSubscriber | property | core/ |
The test content moderation route subscriber. |
ContentModerationRouteSubscriberTest::setLatestRevisionFlagTestCases | function | core/ |
Data provider for ::testSetLatestRevisionFlag. |
ContentModerationRouteSubscriberTest::setUp | function | core/ |
|
ContentModerationRouteSubscriberTest::setupEntityTypes | function | core/ |
Creates the entity type manager mock returning entity type objects. |
ContentModerationRouteSubscriberTest::testSetLatestRevisionFlag | function | core/ |
Tests that the "load_latest_revision" flag is handled correctly. |
ContentModerationState | class | core/ |
A value object representing a workflow state for content moderation. |
ContentModerationState | class | core/ |
Defines the Content moderation state entity. |
ContentModerationState.php | file | core/ |
|
ContentModerationState.php | file | core/ |
|
ContentModerationState::$defaultRevision | property | core/ |
If entities should be the default revision if in this state. |
ContentModerationState::$published | property | core/ |
If entities should be published if in this state. |
ContentModerationState::$state | property | core/ |
The vanilla state object from the Workflow module. |
ContentModerationState::baseFieldDefinitions | function | core/ |
|
ContentModerationState::canTransitionTo | function | core/ |
Determines if the state can transition to the provided state ID. |
ContentModerationState::getFieldsToSkipFromTranslationChangesCheck | function | core/ |
Returns an array of field names to skip in ::hasTranslationChanges. |
ContentModerationState::getTransitions | function | core/ |
Gets all the possible transition objects for the state. |
ContentModerationState::getTransitionTo | function | core/ |
Gets the Transition object for the provided state ID. |
ContentModerationState::id | function | core/ |
Gets the state's ID. |
ContentModerationState::isDefaultRevisionState | function | core/ |
Determines if entities should be the default revision if in this state. |
ContentModerationState::isPublishedState | function | core/ |
Determines if entities should be published if in this state. |
ContentModerationState::label | function | core/ |
Gets the state's label. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.