You are here

protected static property StateValuesCleanAdvancedTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php \Drupal\Tests\system\Functional\Form\StateValuesCleanAdvancedTest::modules
  2. 10 core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php \Drupal\Tests\system\Functional\Form\StateValuesCleanAdvancedTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php, line 26

Class

StateValuesCleanAdvancedTest
Tests proper removal of submitted form values using \Drupal\Core\Form\FormState::cleanValues() when having forms with elements containing buttons like "managed_file".

Namespace

Drupal\Tests\system\Functional\Form

Code

protected static $modules = [
  'file',
  'form_test',
];