You are here

abstract protected function WorkbenchEmailTestBase::enableTemplateForTransitionOrWorkflow in Workbench Email 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/WorkbenchEmailTestBase.php \Drupal\Tests\workbench_email\Functional\WorkbenchEmailTestBase::enableTemplateForTransitionOrWorkflow()

Enables template for given transition or workflow.

Return value

\Drupal\Core\Entity\EntityInterface Transition or workflow.

1 call to WorkbenchEmailTestBase::enableTemplateForTransitionOrWorkflow()
WorkbenchEmailTestBase::testEndToEnd in tests/src/Functional/WorkbenchEmailTestBase.php
Test administration.
2 methods override WorkbenchEmailTestBase::enableTemplateForTransitionOrWorkflow()
ContentModerationWorkbenchEmailTest::enableTemplateForTransitionOrWorkflow in tests/src/Functional/ContentModerationWorkbenchEmailTest.php
Enables template for given transition or workflow.
WorkbenchTransitionEmailTest::enableTemplateForTransitionOrWorkflow in tests/src/Functional/WorkbenchTransitionEmailTest.php
Enables template for given transition or workflow.

File

tests/src/Functional/WorkbenchEmailTestBase.php, line 219

Class

WorkbenchEmailTestBase
Defines a base class for workbench email tests.

Namespace

Drupal\Tests\workbench_email\Functional

Code

protected abstract function enableTemplateForTransitionOrWorkflow($transition_name, $template_name);