StateValuesCleanAdvancedTest::$modules

Same name in other branches
  1. 9 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
  3. 11.x 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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.