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 10.3.x for content
  5. Other projects
Title Object type File name Summary
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.
ContentModerationStateTest::createEntity function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Creates an entity.
ContentModerationStateTest::doTestBasicModeration function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests basic monolingual content moderation through the API.
ContentModerationStateTest::doTestContentModerationStateDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entity.
ContentModerationStateTest::doTestContentModerationStatePendingRevisionDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state pending entity revisions.
ContentModerationStateTest::doTestContentModerationStateRevisionDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entity revisions.
ContentModerationStateTest::doTestContentModerationStateTranslationDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state translations.
ContentModerationStateTest::doTestRevisionDefaultState function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests the revision default state of the moderation state entity revisions.
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 Tests 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::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.

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