public static property StateValuesCleanAdvancedTest::$modules in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php \Drupal\Tests\system\Functional\Form\StateValuesCleanAdvancedTest::modules
- 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\FormCode
public static $modules = [
'file',
'form_test',
];