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

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