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
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
ContentModerationStateResourceTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php
ContentModerationStateResourceTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php Modules to install.
ContentModerationStateResourceTest::testCreateContentModerationStateResource function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php
ContentModerationStateStorageSchema class core/modules/content_moderation/src/ContentModerationStateStorageSchema.php Defines the content moderation state schema handler.
ContentModerationStateStorageSchema.php file core/modules/content_moderation/src/ContentModerationStateStorageSchema.php
ContentModerationStateStorageSchema::getEntitySchema function core/modules/content_moderation/src/ContentModerationStateStorageSchema.php Gets the entity schema for the specified entity type.
ContentModerationStateStorageSchemaTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Test the ContentModerationState storage schema.
ContentModerationStateStorageSchemaTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php
ContentModerationStateStorageSchemaTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Modules to install.
ContentModerationStateStorageSchemaTest::assertStorageException function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Assert if a storage exception is triggered when saving a given entity.
ContentModerationStateStorageSchemaTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php
ContentModerationStateStorageSchemaTest::testUniqueKeys function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Tests the ContentModerationState unique keys.
ContentModerationStateTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests links between a content entity and a content_moderation_state entity.
ContentModerationStateTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
ContentModerationStateTest::$entityDefinitionUpdateManager property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php The entity definition update manager.
ContentModerationStateTest::$entityTypeManager property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
ContentModerationStateTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Modules to install.
ContentModerationStateTest::$revEntityTypeId property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php The ID of the revisionable entity type used in the tests.
ContentModerationStateTest::$state property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php The state object.
ContentModerationStateTest::assertDefaultRevision function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Checks the default revision ID and publishing status for an entity.
ContentModerationStateTest::basicModerationTestCases function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Test cases for basic moderation test.

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