You are here

protected property ConfigFormTestBase::$values in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/ConfigFormTestBase.php \Drupal\KernelTests\ConfigFormTestBase::values
  2. 9 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:

array(
  'user_mail_cancel_confirm_body' => array(
    '#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\KernelTests

Code

protected $values;