function WorkspacePublisherTest::providerPublishThrowableRollback
Data provider for ::testPublishThrowableRollback().
File
-
core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspacePublisherTest.php, line 197
Class
- WorkspacePublisherTest
- Tests workspace publishing.
Namespace
Drupal\Tests\workspaces\KernelCode
public static function providerPublishThrowableRollback() : array {
return [
'exception' => [
\RuntimeException::class,
],
'error' => [
\Error::class,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.