HtmxAssetLoadTestSetup.php
Same filename and directory in other branches
Namespace
Drupal\TestSiteFile
-
core/
tests/ Drupal/ TestSite/ HtmxAssetLoadTestSetup.php
View source
<?php
declare (strict_types=1);
namespace Drupal\TestSite;
use Drupal\Core\Extension\ModuleInstallerInterface;
/**
* Setup file used by core/tests/Drupal/Nightwatch/Tests/htmx/htmxTest.js.
*/
class HtmxAssetLoadTestSetup implements TestSetupInterface {
/**
* {@inheritdoc}
*/
public function setup() : void {
// Install required modules.
$module_installer = \Drupal::service('module_installer');
assert($module_installer instanceof ModuleInstallerInterface);
$module_installer->install([
'test_htmx',
]);
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| HtmxAssetLoadTestSetup | Setup file used by core/tests/Drupal/Nightwatch/Tests/htmx/htmxTest.js. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.