function ViewsModerationStateFilterTest::providerTestWorkflowChanges

Same name and namespace in other branches
  1. 8.9.x core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php \Drupal\Tests\content_moderation\Functional\ViewsModerationStateFilterTest::providerTestWorkflowChanges()
  2. 10 core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php \Drupal\Tests\content_moderation\Functional\ViewsModerationStateFilterTest::providerTestWorkflowChanges()
  3. 11.x core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php \Drupal\Tests\content_moderation\Functional\ViewsModerationStateFilterTest::providerTestWorkflowChanges()

Data provider for testWorkflowChanges.

Return value

string[] An array of view IDs.

File

core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php, line 264

Class

ViewsModerationStateFilterTest
Tests the views 'moderation_state_filter' filter plugin.

Namespace

Drupal\Tests\content_moderation\Functional

Code

public function providerTestWorkflowChanges() {
    return [
        'view on base table, filter on base table' => [
            'test_content_moderation_state_filter_base_table',
        ],
        'view on base table, filter on revision table' => [
            'test_content_moderation_state_filter_base_table_filter_on_revision',
        ],
    ];
}

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