abstract protected function WorkbenchEmailTestBase::getAdditionalFieldsForTransition in Workbench Email 8
Same name and namespace in other branches
- 2.x tests/src/Functional/WorkbenchEmailTestBase.php \Drupal\Tests\workbench_email\Functional\WorkbenchEmailTestBase::getAdditionalFieldsForTransition()
Gets additional field data.
Parameters
string $from_state: From state.
string $to_state: To state.
Return value
array Additional fields.
1 call to WorkbenchEmailTestBase::getAdditionalFieldsForTransition()
- WorkbenchEmailTestBase::testEndToEnd in tests/
src/ Functional/ WorkbenchEmailTestBase.php - Test administration.
2 methods override WorkbenchEmailTestBase::getAdditionalFieldsForTransition()
- ContentModerationWorkbenchEmailTest::getAdditionalFieldsForTransition in tests/
src/ Functional/ ContentModerationWorkbenchEmailTest.php - Gets additional field data.
- WorkbenchTransitionEmailTest::getAdditionalFieldsForTransition in tests/
src/ Functional/ WorkbenchTransitionEmailTest.php - Gets additional field data.
File
- tests/
src/ Functional/ WorkbenchEmailTestBase.php, line 239
Class
- WorkbenchEmailTestBase
- Defines a base class for workbench email tests.
Namespace
Drupal\Tests\workbench_email\FunctionalCode
protected abstract function getAdditionalFieldsForTransition($from_state, $to_state);