function WorkspacesContentModerationStateTest::basicModerationTestCases

Same name in other branches
  1. 9 core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::basicModerationTestCases()
  2. 8.9.x core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::basicModerationTestCases()
  3. 11.x core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::basicModerationTestCases()

Test cases for basic moderation test.

Overrides ContentModerationStateTest::basicModerationTestCases

File

core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php, line 259

Class

WorkspacesContentModerationStateTest
Tests that Workspaces and Content Moderation work together properly.

Namespace

Drupal\Tests\content_moderation\Kernel

Code

public static function basicModerationTestCases() {
    return [
        'Nodes' => [
            'node',
        ],
        'Block content' => [
            'block_content',
        ],
        'Media' => [
            'media',
        ],
        'Test entity - revisions, data table, and published interface' => [
            'entity_test_mulrevpub',
        ],
        'Entity Test with revisions and published status' => [
            'entity_test_revpub',
        ],
    ];
}

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