Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
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/ |
Defines the Content moderation state entity. |
ContentModerationState | class | core/ |
A value object representing a workflow state for content moderation. |
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. |
ContentModerationState::__construct | function | core/ |
ContentModerationState constructor. |
ContentModerationStateAccessControlHandler | class | core/ |
The access control handler for the content_moderation_state entity type. |
ContentModerationStateAccessControlHandler.php | file | core/ |
|
ContentModerationStateAccessControlHandler::checkAccess | function | core/ |
Performs access checks. |
ContentModerationStateAccessControlHandler::checkCreateAccess | function | core/ |
Performs create access checks. |
ContentModerationStateAccessControlHandlerTest | class | core/ |
@coversDefaultClass \Drupal\content_moderation\ContentModerationStateAccessControlHandler @group content_moderation |
ContentModerationStateAccessControlHandlerTest.php | file | core/ |
|
ContentModerationStateAccessControlHandlerTest::$accessControlHandler | property | core/ |
The content_moderation_state access control handler. |
ContentModerationStateAccessControlHandlerTest::$modules | property | core/ |
Modules to enable. |
ContentModerationStateAccessControlHandlerTest::setUp | function | core/ |
|
ContentModerationStateAccessControlHandlerTest::testHandler | function | core/ |
@covers ::checkAccess @covers ::checkCreateAccess |
ContentModerationStateForm | class | core/ |
The content moderation state form. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.