Search for mode

  1. Search 7.x for mode
  2. Search 9.5.x for mode
  3. Search 8.9.x for mode
  4. Search 10.3.x for mode
  5. Other projects
Title Object type File name Summary
ContentModerationInterface::getBundlesForEntityType function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Gets any bundles the workflow is applied to for the given entity type.
ContentModerationInterface::getEntityTypes function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Gets the entity types the workflow is applied to.
ContentModerationInterface::getInitialState function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php
ContentModerationInterface::removeEntityTypeAndBundle function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Removes an entity type ID / bundle ID from the workflow.
ContentModerationPermissionsTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Test to ensure content moderation permissions are generated correctly.
ContentModerationPermissionsTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
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 Tests permissions generated by content moderation.
ContentModerationResaveTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php Tests Content Moderation with entities that get re-saved automatically.
ContentModerationResaveTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php
ContentModerationResaveTest::$contentModerationStateStorage property core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php The content moderation state entity storage.
ContentModerationResaveTest::$entityStorage property core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php The entity storage for the entity type used in the test.
ContentModerationResaveTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php Modules to install.
ContentModerationResaveTest::$state property core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php The state service.
ContentModerationResaveTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php
ContentModerationResaveTest::testContentModerationResave function core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php Tests that Content Moderation works with entities being resaved.
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 type 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::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.

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