You are here

protected function ContentModerationWorkbenchEmailTest::getSubmitButtonTitleForTransition 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::getSubmitButtonTitleForTransition()

Get submit button title text for transition.

Return value

string Button title.

Overrides WorkbenchEmailTestBase::getSubmitButtonTitleForTransition

File

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

Class

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

Namespace

Drupal\Tests\workbench_email\Functional

Code

protected function getSubmitButtonTitleForTransition($from_state, $to_state) {
  return 'Save';
}