Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 8.9.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
ContentModerationConfigureForm.php file core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php
ContentModerationConfigureForm::$entityTypeBundleInfo property core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php The entity type bundle info service.
ContentModerationConfigureForm::$entityTypeManager property core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php The entity type manager.
ContentModerationConfigureForm::$moderationInfo property core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php The moderation info service.
ContentModerationConfigureForm::buildConfigurationForm function core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php Form constructor.
ContentModerationConfigureForm::create function core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php Instantiates a new instance of this class.
ContentModerationConfigureForm::submitConfigurationForm function core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php Form submission handler.
ContentModerationConfigureForm::__construct function core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php Create an instance of ContentModerationConfigureForm.
ContentModerationInterface interface core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Interface for ContentModeration WorkflowType plugin.
ContentModerationInterface.php file core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php
ContentModerationInterface::addEntityTypeAndBundle function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Add an entity type ID / bundle ID to the workflow.
ContentModerationInterface::appliesToEntityTypeAndBundle function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Checks if the workflow applies to the supplied entity type and bundle.
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

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