SystemConfigFormTestBase::$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/modules/system/src/Tests/System/SystemConfigFormTestBase.php, line 47

Class

SystemConfigFormTestBase
Full generic test suite for any form that data with the configuration system.

Namespace

Drupal\system\Tests\System

Code

protected $values;

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