You are here

public function ModerationInformationTest::providerWorkflow in Drupal 8

Same name and namespace in other branches
  1. 9 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 144

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,
    ],
  ];
}