Search for content
- Search 7.x for content
- Search 9.5.x for content
- Search 8.9.x for content
- Search 10.3.x for content
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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. |
ContentModerationState::loadFromModeratedEntity | function | core/ |
Loads a content moderation state entity. |
ContentModerationState::realSave | function | core/ |
Saves an entity permanently. |
ContentModerationState::save | function | core/ |
Saves an entity permanently. |
ContentModerationState::updateOrCreateFromEntity | function | core/ |
Creates or updates an entity's moderation state whilst saving that entity. |
ContentModerationState::weight | function | core/ |
Gets the state's weight. |
Pagination
- Previous page
- Page 31
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.