ConfigFormTestBase::$values
Same name in other branches
- 9 core/tests/Drupal/KernelTests/ConfigFormTestBase.php \Drupal\KernelTests\ConfigFormTestBase::values
- 8.9.x core/tests/Drupal/KernelTests/ConfigFormTestBase.php \Drupal\KernelTests\ConfigFormTestBase::values
- 10 core/tests/Drupal/KernelTests/ConfigFormTestBase.php \Drupal\KernelTests\ConfigFormTestBase::values
Values to use for testing.
Contains details for form key, configuration object name, and config key. Example:
[
'user_mail_cancel_confirm_body' => [
'#value' => $this->randomString(),
'#config_name' => 'user.mail',
'#config_key' => 'cancel_confirm.body',
],
];
Type: array
File
-
core/
tests/ Drupal/ KernelTests/ ConfigFormTestBase.php, line 39
Class
- ConfigFormTestBase
- Full generic test suite for any form that data with the configuration system.
Namespace
Drupal\KernelTestsCode
protected $values;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.