function ModerationInformationTest::providerWorkflow

Data provider for several tests.

File

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

Class

ModerationInformationTest
@coversDefaultClass \Drupal\content_moderation\ModerationInformation[[api-linebreak]] @group content_moderation

Namespace

Drupal\Tests\content_moderation\Unit

Code

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

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