public function EntityPrintPluginManagerTest::testIsPrintEngineEnabled in Entity Print 8.2
Test if an engine is enabled.
@covers ::isPrintEngineEnabled @dataProvider isPrintEngineEnabledDataProvider
File
- tests/
src/ Kernel/ EntityPrintPluginManagerTest.php, line 56
Class
- EntityPrintPluginManagerTest
- @coversDefaultClass \Drupal\entity_print\Plugin\EntityPrintPluginManager @group entity_print
Namespace
Drupal\Tests\entity_print\KernelCode
public function testIsPrintEngineEnabled($plugin_id, $is_enabled) {
$this
->assertSame($this->pluginManager
->isPrintEngineEnabled($plugin_id), $is_enabled);
}