You are here

protected function ContentModerationWorkbenchEmailTest::getExpectedThirdPartySetting in Workbench Email 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/ContentModerationWorkbenchEmailTest.php \Drupal\Tests\workbench_email\Functional\ContentModerationWorkbenchEmailTest::getExpectedThirdPartySetting()

Gets expected third party settings.

Parameters

string $transition_name: Transition name.

string $template: Template ID.

Return value

array Expected settings.

Overrides WorkbenchEmailTestBase::getExpectedThirdPartySetting

File

tests/src/Functional/ContentModerationWorkbenchEmailTest.php, line 209

Class

ContentModerationWorkbenchEmailTest
Defines a class for testing workbench email with content moderation.

Namespace

Drupal\Tests\workbench_email\Functional

Code

protected function getExpectedThirdPartySetting($transition_name, $template) {
  return [
    $transition_name => [
      $template => $template,
    ],
  ];
}