protected function WorkspacesContentModerationStateTest::createEditorialWorkflow in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::createEditorialWorkflow()
- 9 core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::createEditorialWorkflow()
File
- core/
modules/ content_moderation/ tests/ src/ Kernel/ WorkspacesContentModerationStateTest.php, line 225
Class
- WorkspacesContentModerationStateTest
- Tests that Workspaces and Content Moderation work together properly.
Namespace
Drupal\Tests\content_moderation\KernelCode
protected function createEditorialWorkflow() {
$workflow = $this->workspaceManager
->executeOutsideWorkspace(function () {
return $this
->traitCreateEditorialWorkflow();
});
return $workflow;
}