public static property WebformBlockCacheTest::$modules in Webform 8.5
Same name and namespace in other branches
- 6.x tests/src/Functional/WebformBlockCacheTest.php \Drupal\Tests\webform\Functional\WebformBlockCacheTest::modules
Modules to enable.
Type: array
Overrides WebformBrowserTestBase::$modules
File
- tests/
src/ Functional/ WebformBlockCacheTest.php, line 20
Class
- WebformBlockCacheTest
- These tests proof that the webform block which renders the webform as a block provides the correct cache tags / cache contexts so that cachability works.
Namespace
Drupal\Tests\webform\FunctionalCode
public static $modules = [
'block',
'webform',
'page_cache',
'dynamic_page_cache',
'node',
];