You are here

public function ModerationInformationTest::providerWorkflow in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php \Drupal\Tests\content_moderation\Unit\ModerationInformationTest::providerWorkflow()

Data provider for several tests.

File

core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php, line 147

Class

ModerationInformationTest
@coversDefaultClass \Drupal\content_moderation\ModerationInformation @group content_moderation

Namespace

Drupal\Tests\content_moderation\Unit

Code

public function providerWorkflow() {
  return [
    [
      NULL,
      FALSE,
    ],
    [
      'workflow',
      TRUE,
    ],
  ];
}