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
ContentModerationStateAccessControlHandlerTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateAccessControlHandlerTest.php Modules to enable.
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 enable.
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 enable.
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 Test 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::$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 enable.
ContentModerationStateTest::$revEntityTypeId property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php The ID of the revisionable entity type used in the tests.
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.
ContentModerationStateTest::createEntity function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Creates an entity.
ContentModerationStateTest::moderationWithSpecialLanguagesTestCases function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Test cases for ::testModerationWithSpecialLanguages().
ContentModerationStateTest::reloadEntity function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Reloads the entity after clearing the static cache.
ContentModerationStateTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
ContentModerationStateTest::testBasicModeration function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests basic monolingual content moderation through the API.
ContentModerationStateTest::testChangingContentLangcode function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Test changing the language of content without adding a translation.
ContentModerationStateTest::testContentModerationStateDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entity.
ContentModerationStateTest::testContentModerationStatePendingRevisionDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state pending entity revisions.
ContentModerationStateTest::testContentModerationStateRevisionDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entity revisions.
ContentModerationStateTest::testContentModerationStateTranslationDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state translations.
ContentModerationStateTest::testExistingContentModerationStateDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entities for preexisting content.
ContentModerationStateTest::testGetCurrentUserId function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests the legacy method used as the default entity owner.
ContentModerationStateTest::testModerationWithFieldConfigOverride function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests moderation when the moderation_state field has a config override.
ContentModerationStateTest::testModerationWithSpecialLanguages function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests that entities with special languages can be moderated.
ContentModerationStateTest::testMultilingualModeration function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests basic multilingual content moderation through the API.

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