Search for mode
Title | Object type | File name | Summary |
---|---|---|---|
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. |
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 install. |
ContentModerationStateAccessControlHandlerTest::setUp | function | core/ |
|
ContentModerationStateAccessControlHandlerTest::testHandler | function | core/ |
@covers ::checkAccess @covers ::checkCreateAccess |
ContentModerationStateForm | class | core/ |
The content moderation state form. |
ContentModerationStateForm.php | file | core/ |
|
ContentModerationStateForm::buildConfigurationForm | function | core/ |
Form constructor. |
ContentModerationStateFormatter | class | core/ |
Plugin implementation of the 'content_moderation_state' formatter. |
ContentModerationStateFormatter.php | file | core/ |
|
ContentModerationStateFormatter::$moderationInformation | property | core/ |
The moderation information service. |
ContentModerationStateFormatter::create | function | core/ |
Creates an instance of the plugin. |
ContentModerationStateFormatter::isApplicable | function | core/ |
Returns if the formatter can be used for the provided field. |
ContentModerationStateFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
ContentModerationStateFormatter::__construct | function | core/ |
Create an instance of ContentModerationStateFormatter. |
ContentModerationStateInterface | interface | core/ |
An interface for Content moderation state entity. |
ContentModerationStateInterface.php | file | core/ |
|
ContentModerationStateResourceTest | class | core/ |
@group content_moderation |
ContentModerationStateResourceTest.php | file | core/ |
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.