Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 10.3.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
ContentModerationPermissionsTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Modules to install.
ContentModerationPermissionsTest::permissionsTestCases function core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Test cases for ::testPermissions
ContentModerationPermissionsTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
ContentModerationPermissionsTest::testPermissions function core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Test permissions generated by content moderation.
ContentModerationRouteSubscriber class core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php Subscriber for moderated revisionable entity forms.
ContentModerationRouteSubscriber.php file core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php
ContentModerationRouteSubscriber::$entityTypeManager property core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php The entity type manager.
ContentModerationRouteSubscriber::$moderatedEntityTypes property core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php An associative array of moderated entity types keyed by ID.
ContentModerationRouteSubscriber::alterRoutes function core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php Alters existing routes for a specific collection.
ContentModerationRouteSubscriber::getModeratedEntityTypes function core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php Returns the moderated entity types.
ContentModerationRouteSubscriber::getSubscribedEvents function core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php
ContentModerationRouteSubscriber::setLatestRevisionFlag function core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php Ensure revisionable entities load the latest revision on entity forms.
ContentModerationRouteSubscriber::__construct function core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php ContentModerationRouteSubscriber constructor.
ContentModerationRouteSubscriberTest class core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php @coversDefaultClass \Drupal\content_moderation\Routing\ContentModerationRouteSubscriber
ContentModerationRouteSubscriberTest.php file core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php
ContentModerationRouteSubscriberTest::$routeSubscriber property core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php The test content moderation route subscriber.
ContentModerationRouteSubscriberTest::setLatestRevisionFlagTestCases function core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php Data provider for ::testSetLatestRevisionFlag.
ContentModerationRouteSubscriberTest::setUp function core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php
ContentModerationRouteSubscriberTest::setupEntityTypes function core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php Creates the entity manager mock returning entity type objects.
ContentModerationRouteSubscriberTest::testSetLatestRevisionFlag function core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php Tests that the "load_latest_revision" flag is handled correctly.
ContentModerationState class core/modules/content_moderation/src/ContentModerationState.php A value object representing a workflow state for content moderation.
ContentModerationState class core/modules/content_moderation/src/Entity/ContentModerationState.php Defines the Content moderation state entity.
ContentModerationState.php file core/modules/content_moderation/src/ContentModerationState.php
ContentModerationState.php file core/modules/content_moderation/src/Entity/ContentModerationState.php
ContentModerationState::$defaultRevision property core/modules/content_moderation/src/ContentModerationState.php If entities should be the default revision if in this state.
ContentModerationState::$published property core/modules/content_moderation/src/ContentModerationState.php If entities should be published if in this state.
ContentModerationState::$state property core/modules/content_moderation/src/ContentModerationState.php The vanilla state object from the Workflow module.
ContentModerationState::baseFieldDefinitions function core/modules/content_moderation/src/Entity/ContentModerationState.php
ContentModerationState::canTransitionTo function core/modules/content_moderation/src/ContentModerationState.php Determines if the state can transition to the provided state ID.
ContentModerationState::getCurrentUserId function core/modules/content_moderation/src/Entity/ContentModerationState.php Default value callback for the 'uid' base field definition.
ContentModerationState::getFieldsToSkipFromTranslationChangesCheck function core/modules/content_moderation/src/Entity/ContentModerationState.php Returns an array of field names to skip in ::hasTranslationChanges.
ContentModerationState::getTransitions function core/modules/content_moderation/src/ContentModerationState.php Gets all the possible transition objects for the state.
ContentModerationState::getTransitionTo function core/modules/content_moderation/src/ContentModerationState.php Gets the Transition object for the provided state ID.
ContentModerationState::id function core/modules/content_moderation/src/ContentModerationState.php Gets the state's ID.
ContentModerationState::isDefaultRevisionState function core/modules/content_moderation/src/ContentModerationState.php Determines if entities should be the default revision if in this state.
ContentModerationState::isPublishedState function core/modules/content_moderation/src/ContentModerationState.php Determines if entities should be published if in this state.
ContentModerationState::label function core/modules/content_moderation/src/ContentModerationState.php Gets the state's label.
ContentModerationState::loadFromModeratedEntity function core/modules/content_moderation/src/Entity/ContentModerationState.php Loads a content moderation state entity.
ContentModerationState::realSave function core/modules/content_moderation/src/Entity/ContentModerationState.php Saves an entity permanently.
ContentModerationState::save function core/modules/content_moderation/src/Entity/ContentModerationState.php Saves an entity permanently.
ContentModerationState::updateOrCreateFromEntity function core/modules/content_moderation/src/Entity/ContentModerationState.php Creates or updates an entity's moderation state whilst saving that entity.
ContentModerationState::weight function core/modules/content_moderation/src/ContentModerationState.php Gets the state's weight.
ContentModerationState::__construct function core/modules/content_moderation/src/ContentModerationState.php ContentModerationState constructor.
ContentModerationStateAccessControlHandler class core/modules/content_moderation/src/ContentModerationStateAccessControlHandler.php The access control handler for the content_moderation_state entity type.
ContentModerationStateAccessControlHandler.php file core/modules/content_moderation/src/ContentModerationStateAccessControlHandler.php
ContentModerationStateAccessControlHandler::checkAccess function core/modules/content_moderation/src/ContentModerationStateAccessControlHandler.php Performs access checks.
ContentModerationStateAccessControlHandler::checkCreateAccess function core/modules/content_moderation/src/ContentModerationStateAccessControlHandler.php Performs create access checks.
ContentModerationStateAccessControlHandlerTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationStateAccessControlHandlerTest.php @coversDefaultClass \Drupal\content_moderation\ContentModerationStateAccessControlHandler
@group content_moderation
ContentModerationStateAccessControlHandlerTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationStateAccessControlHandlerTest.php
ContentModerationStateAccessControlHandlerTest::$accessControlHandler property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateAccessControlHandlerTest.php The content_moderation_state access control handler.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.